Use Secrets for passwords and tokens
Signed-off-by: Thomas Matysik <thomas@matysik.co.nz>
This commit is contained in:
parent
7340a6278a
commit
5f3dd8a292
9 changed files with 220 additions and 38 deletions
|
@ -38,6 +38,15 @@ spec:
|
|||
- name: gitea-config
|
||||
configMap:
|
||||
name: {{ template "fullname" . }}
|
||||
- name: database-secret
|
||||
secret:
|
||||
secretName: {{ template "db-secret-name" . }}
|
||||
items:
|
||||
- key: {{ template "db-secret-key" . }}
|
||||
path: db-password
|
||||
- name: gitea-secret
|
||||
secret:
|
||||
secretName: {{ template "gitea-secret-name" . }}
|
||||
|
||||
{{- if .Values.imagePullSecrets }}
|
||||
imagePullSecrets:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue