Skip to content
Snippets Groups Projects
Commit 7aa7e286 authored by Antoine R. Dumont (@ardumont)'s avatar Antoine R. Dumont (@ardumont) Committed by Derek Su
Browse files

deployment: Adapt values to be quoted when installed in templates

Namely the values 'workerThreads', 'deletionRetryCount' and 'provisionRetryCount'.

There is some check in the main.go module which expects those to be a string so it can
convert them into an integer. Without this, we cannot actually provide the configuration
without hitting a conversion error. This should fix it.
parent eca2404d
No related branches found
No related tags found
No related merge requests found
......@@ -58,15 +58,15 @@ spec:
- {{ .Values.configmap.name }}
{{- if .Values.workerThreads }}
- --worker-threads
- {{ .Values.workerThreads }}
- {{ .Values.workerThreads | quote }}
{{- end }}
{{- if .Values.provisioningRetryCount }}
- --provisioning-retry-count
- {{ .Values.provisioningRetryCount }}
- {{ .Values.provisioningRetryCount | quote }}
{{- end }}
{{- if .Values.deletionRetryCount }}
- --deletion-retry-count
- {{ .Values.deletionRetryCount }}
- {{ .Values.deletionRetryCount | quote }}
{{- end }}
volumeMounts:
- name: config-volume
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment