mirror of
https://github.com/bitnami/charts.git
synced 2026-03-13 14:57:24 +08:00
* [bitnami/scdf] General improvements * Add TLS section * Update bitnami/spring-cloud-dataflow/README.md Co-authored-by: Juan Ariza Toledano <juanariza@vmware.com> * Apply suggestions Co-authored-by: Juan Ariza Toledano <juanariza@vmware.com>
18 lines
746 B
YAML
18 lines
746 B
YAML
{{- if and (not .Values.mariadb.enabled) (not .Values.externalDatabase.existingPasswordSecret) }}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ printf "%s-%s" (include "scdf.fullname" .) "externaldb" }}
|
|
labels: {{- include "common.labels.standard" . | nindent 4 }}
|
|
{{- if .Values.commonLabels }}
|
|
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
namespace: {{ .Release.Namespace }}
|
|
{{- if .Values.commonAnnotations }}
|
|
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
type: Opaque
|
|
data:
|
|
mariadb-password: {{ .Values.externalDatabase.password | b64enc | quote }}
|
|
{{- end }}
|