Helm template rendering error when specifying both bgp.enabled and operator.resources #16272
Labels
area/helm
Impacts helm charts and user deployment experience
kind/bug
This is a bug in the Cilium logic.
kind/community-report
This was reported by a user in the Cilium community, eg via Slack.
Bug report
General Information
How to reproduce the issue
values.yaml
file with the following contents:helm install cilium cilium/cilium -f values.yaml
Error reported by helm:
YAML parse error on cilium/templates/cilium-operator-deployment.yaml: error converting YAML to JSON: yaml: line 92: did not find expected key
It appears the lines 231-239 of the
cilium-operator-deployment.yaml
file are out of order;cilium/install/kubernetes/cilium/templates/cilium-operator-deployment.yaml
Lines 231 to 239 in d3b5492
The
{{- if .Values.bgp.enabled }}
block should be moved above the{{- if .Values.operator.resources }}
block.The text was updated successfully, but these errors were encountered: