sigstore / k8s-manifest-sigstore

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

add `--image-verify` option for verifying container images #38

Closed hirokuni-kitahara closed 3 years ago

hirokuni-kitahara commented 3 years ago

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

Example:

$ kubectl sigstore verify-resource deployment sample-app --image-verify

...

[RESOURCES]
KIND         NAME         VALID   ERROR   AGE
Deployment   sample-app   true            5d

[RESOURCES - PODS/CONTAINERS]
POD                          CONTAINER    IMAGE ID                     SIGNED   SIGNER
sample-app-b494cd9c8-m7lmz   nginx        nginx:latest@IMAGE_DIGEST    true     sample-signer@example.com