mirror of
https://github.com/kubernetes/client-go.git
synced 2025-08-01 07:20:59 +00:00
Add annotation for image policy webhook fail open.
Kubernetes-commit: a38c2b4ce183da25262791c791215697e7aeaaa0
This commit is contained in:
parent
a23ebdbf48
commit
d9ea62815a
@ -19,6 +19,10 @@ limitations under the License.
|
|||||||
package api
|
package api
|
||||||
|
|
||||||
const (
|
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
|
// MirrorAnnotationKey represents the annotation key set by kubelets when creating mirror pods
|
||||||
MirrorPodAnnotationKey string = "kubernetes.io/config.mirror"
|
MirrorPodAnnotationKey string = "kubernetes.io/config.mirror"
|
||||||
|
|
||||||
|
@ -19,6 +19,10 @@ limitations under the License.
|
|||||||
package v1
|
package v1
|
||||||
|
|
||||||
const (
|
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
|
// MirrorAnnotationKey represents the annotation key set by kubelets when creating mirror pods
|
||||||
MirrorPodAnnotationKey string = "kubernetes.io/config.mirror"
|
MirrorPodAnnotationKey string = "kubernetes.io/config.mirror"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user