add secrets helm template
This commit is contained in:
@@ -7,9 +7,9 @@ metadata:
|
||||
spec:
|
||||
tls:
|
||||
- hosts:
|
||||
- {{ .Values.host }}
|
||||
- {{ required "A valid .Values.host entry required!" .Values.host }}
|
||||
rules:
|
||||
- host: {{ .Values.host }}
|
||||
- host: {{ required "A valid .Values.host entry required!" .Values.host }}
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
|
||||
10
pgadmin/templates/secret.yaml
Normal file
10
pgadmin/templates/secret.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
{{ if .Values.secrets }}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: pgadmin
|
||||
type: generic
|
||||
data:
|
||||
PGADMIN_DEFAULT_EMAIL: {{ "postgres" | b64enc | quote }}
|
||||
PGADMIN_DEFAULT_PASSWORD: {{ randAlphaNum 64 | b64enc | quote }}
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user