13 lines
451 B
YAML
13 lines
451 B
YAML
{{- if and .Values.apiportal.enabled .Values.apiportal.mysql.enabled (not .Values.apiportal.mysql.existingSecret) -}}
|
|
apiVersion: v1
|
|
data:
|
|
username: {{ .Values.apiportal.mysql.username | b64enc }}
|
|
password: {{ .Values.apiportal.mysql.password | b64enc }}
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ include "gateway.apiportal.secretName" . }}
|
|
labels:
|
|
{{- include "gateway.labels" . | nindent 4 }}
|
|
app.kubernetes.io/component: apiportal
|
|
{{- end }}
|