Use the env directly

This commit is contained in:
Micke Nordin 2023-06-15 15:50:42 +02:00
parent f4bdb686cf
commit 2c66966a3e
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257

View file

@ -18,8 +18,6 @@ metadata:
name: portowncloudconfig-{{ .name | replace "." "-" | replace ":" "-" }}
namespace: {{ $.Values.global.namespace.name | default $.Release.Namespace }}
data:
OWNCLOUD_OAUTH_CLIENT_ID: {{ .Values.environment.OAUTH_CLIENT_SECRET | quote }}
OWNCLOUD_INSTALLATION_URL: {{ .ADDRESS | quote }}
OWNCLOUD_OAUTH_CLIENT_SECRET: {{ .Values.environment.OAUTH_CLIENT_ID | quote }}
SERVICENAME: {{ .name | replace "." "-" | replace ":" "-" }}
{{- end }}