first commit
This commit is contained in:
11
templates/common/metrics-db-secret.yaml
Normal file
11
templates/common/metrics-db-secret.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
{{- if and .Values.global.database.metrics.enabled (not .Values.global.database.metrics.existingSecret) -}}
|
||||
apiVersion: v1
|
||||
data:
|
||||
username: {{ .Values.global.database.metrics.username | b64enc }}
|
||||
password: {{ .Values.global.database.metrics.password | b64enc }}
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ include "gateway.metrics-db.secretName" . }}
|
||||
labels:
|
||||
{{- include "gateway.labels" . | nindent 4 }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user