sigstore / k8s-manifest-sigstore

kubectl plugin for signing Kubernetes manifest YAML files with sigstore
Apache License 2.0
79 stars 21 forks source link

enable to load config from constraint resource in a cluster #31

Closed hirokuni-kitahara closed 3 years ago

hirokuni-kitahara commented 3 years ago

Signed-off-by: Hirokuni-Kitahara1 hirokuni.kitahara1@ibm.com

enable the command like this as equivalent to a local config file

# load config from a resource in a cluster
$ kubectl sigstore verify-resource cm -n sample-ns sample-cm --config-type constraint --config-name sample-constraint

# equivalent command
$ kubectl sigstore verify-resource cm -n sample-ns sample-cm --config config.yaml