Add annotation for image policy webhook fail open.

Kubernetes-commit: a38c2b4ce183da25262791c791215697e7aeaaa0
This commit is contained in:
Quintin Lee 2017-05-22 19:32:19 -07:00 committed by Kubernetes Publisher
parent a23ebdbf48
commit d9ea62815a
2 changed files with 8 additions and 0 deletions

View File

@ -19,6 +19,10 @@ limitations under the License.
package api
const (
// ImagePolicyFailedOpenKey is added to pods created by failing open when the image policy
// webhook backend fails.
ImagePolicyFailedOpenKey string = "alpha.image-policy.k8s.io/failed-open"
// MirrorAnnotationKey represents the annotation key set by kubelets when creating mirror pods
MirrorPodAnnotationKey string = "kubernetes.io/config.mirror"

View File

@ -19,6 +19,10 @@ limitations under the License.
package v1
const (
// ImagePolicyFailedOpenKey is added to pods created by failing open when the image policy
// webhook backend fails.
ImagePolicyFailedOpenKey string = "alpha.image-policy.k8s.io/failed-open"
// MirrorAnnotationKey represents the annotation key set by kubelets when creating mirror pods
MirrorPodAnnotationKey string = "kubernetes.io/config.mirror"