Update chart/templates/gatekeeper/values.yaml
Package Owner Merge Request
Package Changes
Gatekeeper fails to deploy when Mattermost is disabled
Links to all MRs that are associated with this change are required.
Additional Details
Normal error 27s helm-controller reconciliation failed: Helm install failed: failed post-install: warning: Hook post-install gatekeeper/templates/constraints/httpsOnly.yaml failed: K8sHttpsOnly.constraints.gatekeeper.sh "https-only" is invalid: spec.match.excludedNamespaces: Invalid value: "null": spec.match.excludedNamespaces in body must be of type array: "null"
$ helm get values -n bigbang gatekeeper-system-gatekeeper
USER-SUPPLIED VALUES:
image:
pullSecrets:
- name: private-registry
networkPolicies:
controlPlaneCidr: 0.0.0.0/0
enabled: true
postInstall:
labelNamespace:
enabled: false
image:
pullSecrets:
- name: private-registry
replicas: 1
resources:
limits: {}
requests:
cpu: 100m
memory: 256Mi
violations:
allowedDockerRegistries:
match:
excludedNamespaces:
- istio-system
- kube-system
httpsOnly:
match:
excludedNamespaces: null
noPrivilegedContainers:
match:
excludedNamespaces:
- kube-system
- logging
selinuxPolicy:
match:
excludedNamespaces:
- logging
volumeTypes:
match:
excludedNamespaces:
- logging
- kube-system
@ablanchard please provide issue number when submitted.