diff --git a/build/helm/keylime/charts/keylime-init/templates/ca-job.yaml b/build/helm/keylime/charts/keylime-init/templates/ca-job.yaml index 7366a29..cfbe3cb 100644 --- a/build/helm/keylime/charts/keylime-init/templates/ca-job.yaml +++ b/build/helm/keylime/charts/keylime-init/templates/ca-job.yaml @@ -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: diff --git a/build/helm/keylime/templates/configmap.yaml b/build/helm/keylime/templates/configmap.yaml index a9e4570..b28e2d7 100644 --- a/build/helm/keylime/templates/configmap.yaml +++ b/build/helm/keylime/templates/configmap.yaml @@ -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 }}"