mirror of
https://github.com/bitnami/charts.git
synced 2026-03-13 14:57:24 +08:00
* adjust the naming style for resources to make them not pass the length limit Signed-off-by: Gang Liu <gang.liu@daocloud.io> * upgrade version Signed-off-by: Gang Liu <gang.liu@daocloud.io> Signed-off-by: Gang Liu <gang.liu@daocloud.io> Signed-off-by: izturn <44051386+izturn@users.noreply.github.com>
12 lines
468 B
YAML
12 lines
468 B
YAML
{{- if and (not .Values.mariadb.enabled) (not .Values.externalDatabase.existingSecret) }}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ printf "%s-externaldb" (include "common.names.fullname" .) | trunc 63 | trimSuffix "-" }}
|
|
namespace: {{ include "common.names.namespace" . | quote }}
|
|
labels: {{- include "common.labels.standard" . | nindent 4 }}
|
|
type: Opaque
|
|
data:
|
|
db-password: {{ default "" .Values.externalDatabase.password | b64enc | quote }}
|
|
{{- end }}
|