Helm chart: setting integrations.podOptions.namespaceSelector
results in webhook selector being erased
#1903
Labels
kind/bug
Categorizes issue or PR as related to a bug.
What happened:
I added the following to
managerConfig.controllerManagerConfigYaml
in my Helm chart configuration:What you expected to happen:
The pod MutatingWebhook stays correct.
How to reproduce it (as minimally and precisely as possible):
modify the
managerConfig.controllerManagerConfigYaml
incharts/kueue/values.yaml
to the value above. Make sure that podOptions is a child ofintegrations
, this has bitten me in the past.Run:
helm template -n kueue-system my-release . less
and search for
mpod.kb.io
andvpod.kb.io
. It looks like this:Anything else we need to know?:
To solve this, just change
nindent 4
tonindent 6
inadd_webhook_pod_mutate
andadd_webhook_pod_validate
ofhack/update-helm.sh
, and in the corresponding part of the helm chart.The text was updated successfully, but these errors were encountered: