From 3ebd8927e609a02bed9debf3dcefa87c307d9574 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 23 Jul 2026 06:48:28 +0000 Subject: [PATCH] Point README examples at the manifests that exist The usage section referenced an examples/ directory that was never in the repo, so every documented command failed for anyone following along. Rather than add a duplicate set of manifests, point the commands at the existing approval-test fixtures under approvals/, which are the canonical sample manifests. Their outputs match what the README documents: the StatefulSet fixture prints the three listed images, and `kir_test.TestKind.*.input.yaml | sort -u` prints the listed seven. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01Pc6NAURAqjU4LYJx93tgSC --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 5ad0d6b..c43a7f1 100644 --- a/README.md +++ b/README.md @@ -22,16 +22,16 @@ ### Get images for a manifest: ```shell -$ go run main.go examples/statefulset.yaml +$ go run main.go approvals/kir_test.TestKind.StatefulSet.input.yaml registry.k8s.io/nginx-slim:0.8 gcr.io/google-containers/sidecar kiwigrid/k8s-sidecar ``` -### Get images for all manifests in a folder: +### Get images for all manifests matching a glob: ```shell -$ go run main.go examples/* | sort -u +$ go run main.go approvals/kir_test.TestKind.*.input.yaml | sort -u busybox:1.28 gcr.io/google-containers/busybox gcr.io/google-containers/sidecar @@ -55,11 +55,11 @@ $ kubectl get pod -A -o yaml | go run main.go - | sort -u ```shell # Syft: -$ go run main.go examples/job.yaml | xargs syft +$ go run main.go approvals/kir_test.TestKind.Job.input.yaml | xargs syft # Snyk: -$ go run main.go examples/job.yaml | xargs snyk container test +$ go run main.go approvals/kir_test.TestKind.Job.input.yaml | xargs snyk container test # Docker Scout -$ go run main.go examples/job.yaml | xargs docker scout cves +$ go run main.go approvals/kir_test.TestKind.Job.input.yaml | xargs docker scout cves ```