Skip to content

Commit 3aa11fa

Browse files
committed
fix: set the ResourceIsPod of DefaultPodValidationOptions to false
#1985
1 parent 483dc2f commit 3aa11fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/webhook/util/pod_validation.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ var (
2626
AllowInvalidLabelValueInSelector: true,
2727
AllowHostIPsField: true,
2828
AllowInvalidTopologySpreadConstraintLabelSelector: true,
29-
ResourceIsPod: true,
29+
ResourceIsPod: false,
3030
}
3131
)

0 commit comments

Comments
 (0)