Skip to content

Commit 049fde1

Browse files
authored
Merge pull request opencloud-eu#76 from kastl-ars/20250603_fix_inconsistent_rendering_of_booleans
Fix inconsistent rendering of booleans
2 parents 24eb882 + 84d21ef commit 049fde1

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

charts/opencloud/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ maintainers:
1010
1111
url: https://opencloud.eu
1212
type: application
13-
version: 0.1.6
13+
version: 0.1.7
1414
# renovate: datasource=docker depName=opencloudeu/opencloud-rolling
1515
appVersion: latest
1616
kubeVersion: ""

charts/opencloud/templates/collaboration/deployment.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ spec:
2929
image: {{ include "opencloud.image" (dict "imageValues" .Values.busybox.image "global" .Values.global) | quote }}
3030
imagePullPolicy: {{ include "opencloud.image.pullPolicy" (dict "pullPolicy" .Values.busybox.image.pullPolicy "global" .Values.global) | quote }}
3131
command: ['sh', '-c', 'until wget -q -O- http://{{ include "opencloud.opencloud.fullname" . }}:9200/health; do echo waiting for opencloud; sleep 5; done;']
32-
32+
3333
{{- if not .Values.opencloud.persistence.enabled }}
3434
# Copy config from OpenCloud API if persistence is disabled
3535
- name: copy-config
@@ -40,7 +40,7 @@ spec:
4040
- name: etc-opencloud
4141
mountPath: /etc/opencloud
4242
{{- end }}
43-
43+
4444
{{- if .Values.onlyoffice.enabled }}
4545
# Wait for OnlyOffice to be ready
4646
- name: wait-for-onlyoffice
@@ -99,9 +99,9 @@ spec:
9999
- name: COLLABORATION_APP_PROOF_DISABLE
100100
value: "true"
101101
- name: COLLABORATION_APP_INSECURE
102-
value: "{{ .Values.opencloud.insecure }}"
102+
value: {{ tpl (toString .Values.opencloud.insecure) . | quote }}
103103
- name: COLLABORATION_CS3API_DATAGATEWAY_INSECURE
104-
value: "{{ .Values.opencloud.insecure }}"
104+
value: {{ tpl (toString .Values.opencloud.insecure) . | quote }}
105105
- name: COLLABORATION_LOG_LEVEL
106106
value: "{{ .Values.opencloud.logLevel }}"
107107
- name: OC_URL

charts/opencloud/templates/onlyoffice/deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ spec:
2525
command: ["/bin/sh", "/entrypoint-override.sh"]
2626
env:
2727
- name: WOPI_ENABLED
28-
value: "{{ .Values.onlyoffice.wopi.enabled }}"
28+
value: {{ tpl (toString .Values.onlyoffice.wopi.enabled) . | quote }}
2929
- name: USE_UNAUTHORIZED_STORAGE
30-
value: "{{ .Values.onlyoffice.useUnauthorizedStorage }}"
30+
value: {{ tpl (toString .Values.onlyoffice.useUnauthorizedStorage) . | quote }}
3131
- name: DB_TYPE
3232
value: "{{ .Values.onlyoffice.config.coAuthoring.sql.type | default "postgres" }}"
3333
- name: DB_HOST

charts/opencloud/templates/opencloud/deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ spec:
159159
value: "0.0.0.0:9142"
160160
# INSECURE: needed if OpenCloud is using self generated certificates
161161
- name: OC_INSECURE
162-
value: "{{ .Values.opencloud.insecure }}"
162+
value: {{ tpl (toString .Values.opencloud.insecure) . | quote }}
163163
# Basic auth (only needed when not using Keycloak)
164164
- name: PROXY_ENABLE_BASIC_AUTH
165165
value: {{ tpl (toString .Values.opencloud.enableBasicAuth) . | quote }}
@@ -194,7 +194,7 @@ spec:
194194
- name: NOTIFICATIONS_SMTP_PASSWORD
195195
value: "{{ .Values.opencloud.smtp.password }}"
196196
- name: NOTIFICATIONS_SMTP_INSECURE
197-
value: "{{ .Values.opencloud.smtp.insecure }}"
197+
value: {{ tpl (toString .Values.opencloud.smtp.insecure) . | quote }}
198198
- name: NOTIFICATIONS_SMTP_AUTHENTICATION
199199
value: "{{ .Values.opencloud.smtp.authentication }}"
200200
- name: NOTIFICATIONS_SMTP_ENCRYPTION

0 commit comments

Comments
 (0)