mirror of
https://github.com/bitnami/charts.git
synced 2026-03-13 06:47:24 +08:00
Encode base64 CSRF_KEY (#2954)
Signed-off-by: joancafom <jcarmona@bitnami.com>
This commit is contained in:
committed by
GitHub
parent
bc14dfdc6c
commit
823a198926
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: harbor
|
||||
version: 6.0.6
|
||||
version: 6.0.7
|
||||
appVersion: 2.0.1
|
||||
description: Harbor is an an open source trusted cloud native registry project that stores, signs, and scans content
|
||||
keywords:
|
||||
|
||||
@@ -15,11 +15,11 @@ data:
|
||||
_REDIS_URL: {{ include "harbor.redisForCore" . | b64enc | quote }}
|
||||
_REDIS_URL_REG: {{ include "harbor.redisForGC" . | b64enc | quote }}
|
||||
REGISTRY_CREDENTIAL_USERNAME: {{ .Values.registry.credentials.username | b64enc | quote }}
|
||||
REGISTRY_CREDENTIAL_PASSWORD: {{ .Values.registry.credentials.password | b64enc | quote }}
|
||||
REGISTRY_CREDENTIAL_PASSWORD: {{ .Values.registry.credentials.password | b64enc | quote }}
|
||||
{{- if .Values.core.csrfKey }}
|
||||
CSRF_KEY: {{ .Values.core.csrfKey | quote }}
|
||||
CSRF_KEY: {{ .Values.core.csrfKey | b64enc | quote }}
|
||||
{{- else }}
|
||||
CSRF_KEY: {{ randAlphaNum 32 | quote }}
|
||||
CSRF_KEY: {{ randAlphaNum 32 | b64enc | quote }}
|
||||
{{- end }}
|
||||
{{- if .Values.harborAdminPassword }}
|
||||
HARBOR_ADMIN_PASSWORD: {{ .Values.harborAdminPassword | b64enc | quote }}
|
||||
|
||||
Reference in New Issue
Block a user