This command checks external Secrets synchronization status, and if every Secret has a corresponding external Secret.
To run it, use:
go run main.go --kubeconfig=~/.kube/config --ignored-secrets "namespace/secretName,namespace/secretName2"
See the list of available flags:
Name | Required | Description |
---|---|---|
--kubeconfig | Yes | The path to the kubeconfig file needed to connect to a cluster. |
--ignored-secrets | No | The list of ignored Secrets. The Secrets are in the namespace/secretName format and are separated with commas. |
--namespaces | No | The list of analyzed Namespaces. The Namespaces names are separated with commas. The program scans all Namespaces if the Namespaces list is empty. |