-
Notifications
You must be signed in to change notification settings - Fork 99
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
When upgrading the policy-controller Helm chart (from version 0.8.0 to 0.8.1) with the following values:
webhook:
replicaCount: 3
securityContext:
enabled: true
runAsUser: 1000
configData:
no-match-policy: warn
serviceMonitor:
enabled: truethis will result in the following error:
Warning UpgradeFailed 30s helm-controller Helm upgrade failed for release infra-cosign/policy-controller with chart [email protected]: values don't meet the specifications of the schema(s) in the following chart(s):
policy-controller:
- webhook.configData: Additional property no-match-policy is not allowed
Most likely this is caused by the upated helm values schema which is quite restrictive as it specifies the "additionalProperties": false, property. Not only on the configData object, but also on the securityContext, customLabels, env, extraArgs all specify this which prevent a user to specify custom properties.
Version
policy controller helm chart version 0.8.1
OysteinThuen, runerys, baksetercx, bheisig, rai69 and 1 more
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working