Skip to content

Commit

Permalink
ao configmap: fixes for handling boolean and numeric values
Browse files Browse the repository at this point in the history
Signed-off-by: George Almasi <[email protected]>
  • Loading branch information
George Almasi authored and maugustosilva committed Jan 8, 2024
1 parent 73885eb commit bac2fda
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ spec:
{{- if .Values.global.configmap.configParams }}
{{- range $k, $v := .Values.global.configmap.configParams }}
- name: {{ $k }}
value: {{ $v }}
value: "{{ $v }}"
{{- end }}
{{- end}}
command:
Expand Down
4 changes: 3 additions & 1 deletion build/helm/keylime/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ data:
KEYLIME_TENANT_VERIFIER_PORT: "{{ default "8881" .Values.verifier.service.port }}"
{{- end }}
{{- if .Values.global.configmap.configParams }}
{{- toYaml .Values.global.configmap.configParams | nindent 2 }}
{{- range $k, $v := .Values.global.configmap.configParams }}
{{ $k }} : "{{ $v }}"
{{- end }}
{{- end}}
KEYLIME_VERIFIER_IP: "0.0.0.0"
KEYLIME_VERIFIER_PORT: "{{ default "8881" .Values.verifier.service.port }}"
Expand Down

0 comments on commit bac2fda

Please sign in to comment.