mirror of
https://github.com/bitnami/charts.git
synced 2026-03-05 14:57:31 +08:00
* [bitnami/spring-cloud-dataflow] feat: ♻️ 🔒 Refactor and enable NetworkPolicy by default Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com> * chore: 🔖 Bump version Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com> * test: ✅ Update GOSS incorrect reference Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com> --------- Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>
20 lines
748 B
YAML
20 lines
748 B
YAML
{{- /*
|
|
Copyright VMware, Inc.
|
|
SPDX-License-Identifier: APACHE-2.0
|
|
*/}}
|
|
|
|
{{- if and (not .Values.mariadb.enabled) (not .Values.externalDatabase.existingPasswordSecret) }}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ printf "%s-%s" (include "common.names.fullname" .) "externaldb" }}
|
|
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
|
|
namespace: {{ include "common.names.namespace" . | quote }}
|
|
{{- 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 }}
|