Skip to content

Commit 238b07e

Browse files
authored
Merge pull request opencloud-eu#27 from wrenix/main
fix(opencloud): allow to set proxy_basic_auth
2 parents 5ae1ce2 + 5df96cc commit 238b07e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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.2
13+
version: 0.1.3
1414
# renovate: datasource=docker depName=opencloudeu/opencloud-rolling
1515
appVersion: latest
1616
kubeVersion: ""

templates/opencloud/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ spec:
157157
value: "{{ .Values.opencloud.insecure }}"
158158
# Basic auth (only needed when not using Keycloak)
159159
- name: PROXY_ENABLE_BASIC_AUTH
160-
value: {{ if .Values.keycloak.enabled }}"false"{{ else }}"true"{{ end }}
160+
value: {{ tpl (toString .Values.opencloud.enableBasicAuth) . | quote }}
161161
# These vars are needed to the csp config file to include the web office apps and the importer
162162
- name: ONLYOFFICE_DOMAIN
163163
value: "{{ .Values.global.domain.onlyoffice }}"

values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ opencloud:
376376
# Insecure mode (for self-signed certificates)
377377
insecure: true
378378
# Enable basic auth (set to false to use Keycloak only)
379-
enableBasicAuth: false
379+
enableBasicAuth: "{{ not .Values.keycloak.enabled }}"
380380
# Admin password
381381
adminPassword: admin
382382
# Create demo users

0 commit comments

Comments
 (0)