@@ -70,21 +70,22 @@ kube-system pod pod-docker-volume mounted
7070```
7171
7272You can run ` dds ` against a single manifest file or folder of manifest files (recursive).
73- The repo includes a test /manifests directory.
73+ The repo includes a tests /manifests directory.
7474
7575```
76- kubectl dds --filename test
76+ kubectl dds --filename tests
7777```
7878example output
7979```
8080FILE LINE STATUS
81- test/manifests/docker-volume.cronjob.yaml 22 mounted
82- test/manifests/docker-volume.daemonset.yaml 24 mounted
83- test/manifests/docker-volume.deploy.test1.yaml 32 mounted
84- test/manifests/docker-volume.deploy.yaml 25 mounted
85- test/manifests/docker-volume.job.yaml 17 mounted
86- test/manifests/docker-volume.pod.kube-system.yaml 14 mounted
87- test/manifests/docker-volume.statefulset.yaml 26 mounted
81+ tests/manifests/docker-volume.cronjob.yaml 22 mounted
82+ tests/manifests/docker-volume.daemonset.yaml 24 mounted
83+ tests/manifests/docker-volume.deploy.test1.yaml 32 mounted
84+ tests/manifests/docker-volume.deploy.yaml 25 mounted
85+ tests/manifests/docker-volume.job.yaml 17 mounted
86+ tests/manifests/docker-volume.pod.kube-system.yaml 14 mounted
87+ tests/manifests/docker-volume.replicaset.yaml 25 mounted
88+ tests/manifests/docker-volume.statefulset.yaml 26 mounted
8889```
8990
9091Use the ` --verbose ` with a log level (1-10) to get more output
@@ -114,7 +115,7 @@ If the docker.sock volume is found in any files the cli exit code with be 1.
114115
115116## Build
116117
117- To build the binary you can use ` make dds ` or ` go build -o kubectl-dds main.go `
118+ To build the binary you can use ` go build -o kubectl-dds main.go ` or ` make dds ` to use [ goreleaser ] ( https://goreleaser.com/ ) .
118119
119120Install the ` kubectl-dds ` binary somewhere in your path to use it with ` kubectl ` or use it by itself without kubectl.
120121The same kubectl authentication works with or without ` kubectl ` (e.g. $HOME/.kube/config or KUBECONFIG).
0 commit comments