Skip to content

Commit

Permalink
use range instead of toyaml so we can use squote
Browse files Browse the repository at this point in the history
  • Loading branch information
samdulam committed Apr 4, 2024
1 parent b318b1c commit 425671c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/portainer/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ spec:
{{- if (and (eq .Values.service.type "NodePort") (not (empty .Values.service.edgeNodePort))) }}
- '--tunnel-port={{ .Values.service.edgeNodePort }}'
{{- end }}
{{- with .Values.feature.flags }}
{{- toYaml . | nindent 8 }}
{{- range .Values.feature.flags }}
- {{ . | squote }}
{{- end }}
volumeMounts:
{{- if .Values.persistence.enabled }}
Expand Down
2 changes: 1 addition & 1 deletion charts/portainer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ mtls:
existingSecret: ""

feature:
flags: {}
flags: []

ingress:
enabled: false
Expand Down

0 comments on commit 425671c

Please sign in to comment.