sync default policy values with umbrella
General MR
There are two policies that are enabled in the umbrella that I've left disabled in the chart's default values:
-
update-automountserviceaccounttokens-default: This policy will not render properly if its namespaces parameter is not set, and there is no reasonable way to know what namespaces the user would want to apply the policy to. It's going to be up to the user (in this case, the umbrella chart) to provide those values when enabling the policy. -
update-automountserviceaccounttokens: The template for this policy is only rendered when namespaces are provided, and similar to the other, it is impossible to know what namespaces the user would like enabled.
Summary
Set the default values for policies (e.g. enabled and validationFailureAction) in line with those that are specified in the umbrella.
Relevant logs/screenshots
Umbrella pipeline: big-bang/bigbang!7527 (closed)
Helm Releases still install successfully:
Linked Issue
Upgrade Notices
The default enabled and validationFailureAction settings for most policies have been updated to match those set in the bigbang umbrella chart. This change has no impact on those using the chart with bigbang, and only impacts those who may be using the chart independently.
-
disallow-image-tagsis now enabled and enforced by default. -
disallow-namespacesis now enabled and enforced by default. -
disallow-nodeport-servicesis now enforced by default. -
require-image-signatureis now disabled and not enforced by default. -
require-host-path-mountis now enforced by default. -
require-host-path-mount-pvis now enforced by default. -
require-host-path-writeis now enforced by default. -
restrict-image-registriesis now enforced by default.
Edited by Jonathan Braswell
