mirror of
https://github.com/bitnami/charts.git
synced 2026-03-15 14:57:16 +08:00
* [bitnami/osclass] Add missing namespace metadata Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Add missing quotes Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Add quotes to $.Release.Namespace Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * ServiceMonitor namespace Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * ServiceMonitor namespace Signed-off-by: Miguel Ruiz <miruiz@vmware.com>
18 lines
743 B
YAML
18 lines
743 B
YAML
{{- if and (not .Values.mariadb.enabled) (not .Values.externalDatabase.existingSecret) }}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: "{{ include "common.names.fullname" . }}-externaldb"
|
|
namespace: {{ .Release.Namespace | quote }}
|
|
labels: {{- include "common.labels.standard" . | nindent 4 }}
|
|
{{- if .Values.commonLabels }}
|
|
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
{{- if .Values.commonAnnotations }}
|
|
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
type: Opaque
|
|
data:
|
|
db-password: {{ default "" .Values.externalDatabase.password | b64enc | quote }}
|
|
{{- end }}
|