Skip to content

Commit fb9bd2a

Browse files
committed
Exclude base image validation in kube-system
Signed-off-by: Mikkel Oscar Lyderik Larsen <[email protected]>
1 parent bee2185 commit fb9bd2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cluster/config-defaults.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -606,6 +606,7 @@ kubelet_image_gc_low_threshold: 40
606606
{{if eq .Cluster.Environment "production"}}
607607
teapot_admission_controller_validate_application_label: "true"
608608
teapot_admission_controller_validate_base_images: "true"
609+
teapot_admission_controller_validate_base_images_namespaces: "^kube-system$"
609610

610611
# Check container image compliance in production clusters. Be careful when thinking about changing this: Setting it to
611612
# false will allow any container image to run in production clusters.

0 commit comments

Comments
 (0)