Fixing InitContainer when using ExternalDB
Fixing InitContainer when using ExternalDB
This commit is contained in:
parent
f53c3f7536
commit
07f4e87f6d
@ -9,8 +9,13 @@ Create helm partial for gitea server
|
||||
- name: MARIADB_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
{{- if .Values.mariadb.enabled }}
|
||||
name: {{ template "mariadb.fullname" . }}
|
||||
key: mariadb-password
|
||||
{{- else }}
|
||||
name: {{ printf "%s-%s" .Release.Name "externaldb" }}
|
||||
key: db-password
|
||||
{{- end }}
|
||||
- name: SCRIPT
|
||||
value: &script |-
|
||||
mkdir -p /datatmp/gitea/conf
|
||||
|
Loading…
x
Reference in New Issue
Block a user