Skip to content

Commit d3760b0

Browse files
committed
charts/opencloud/templates/collaboration/deployment.yaml: use safe rendering for booleans
1 parent 2d8139d commit d3760b0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

charts/opencloud/templates/collaboration/deployment.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ spec:
2828
- name: wait-for-opencloud
2929
image: busybox
3030
command: ['sh', '-c', 'until wget -q -O- http://{{ include "opencloud.opencloud.fullname" . }}:9200/health; do echo waiting for opencloud; sleep 5; done;']
31-
31+
3232
{{- if not .Values.opencloud.persistence.enabled }}
3333
# Copy config from OpenCloud API if persistence is disabled
3434
- name: copy-config
@@ -38,7 +38,7 @@ spec:
3838
- name: etc-opencloud
3939
mountPath: /etc/opencloud
4040
{{- end }}
41-
41+
4242
{{- if .Values.onlyoffice.enabled }}
4343
# Wait for OnlyOffice to be ready
4444
- name: wait-for-onlyoffice
@@ -95,9 +95,9 @@ spec:
9595
- name: COLLABORATION_APP_PROOF_DISABLE
9696
value: "true"
9797
- name: COLLABORATION_APP_INSECURE
98-
value: "{{ .Values.opencloud.insecure }}"
98+
value: {{ tpl (toString .Values.opencloud.insecure) . | quote }}
9999
- name: COLLABORATION_CS3API_DATAGATEWAY_INSECURE
100-
value: "{{ .Values.opencloud.insecure }}"
100+
value: {{ tpl (toString .Values.opencloud.insecure) . | quote }}
101101
- name: COLLABORATION_LOG_LEVEL
102102
value: "{{ .Values.opencloud.logLevel }}"
103103
- name: OC_URL

0 commit comments

Comments
 (0)