Revert "Use Secrets for passwords and tokens"
This commit is contained in:
parent
3d9c5b7abd
commit
f75ba73ffd
9 changed files with 38 additions and 220 deletions
|
@ -5,6 +5,17 @@ Create helm partial for gitea server
|
|||
- name: gitea
|
||||
image: {{ .Values.images.gitea }}
|
||||
imagePullPolicy: {{ .Values.images.pullPolicy }}
|
||||
env:
|
||||
- name: DATABASE_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 }}
|
||||
ports:
|
||||
- name: ssh
|
||||
containerPort: 22
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue