Add annotation for image policy webhook fail open.

This commit is contained in:
Quintin Lee
2017-05-22 19:32:19 -07:00
parent 7043372d05
commit a38c2b4ce1
5 changed files with 28 additions and 6 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"