mirror of
https://github.com/bitnami/charts.git
synced 2026-03-16 14:57:08 +08:00
* [bitnami/mediawiki] Add missing namespace metadata Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Add quotes Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * ServiceMonitor namespace Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Fix VIB upload image reference Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Quote namespaces Signed-off-by: Miguel Ruiz <miruiz@vmware.com>
18 lines
755 B
YAML
18 lines
755 B
YAML
{{- if (not (or .Values.mariadb.enabled .Values.externalDatabase.existingSecret)) }}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ printf "%s-externaldb" (include "common.names.fullname" .) }}
|
|
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:
|
|
mariadb-password: {{ default "" .Values.externalDatabase.password | b64enc | quote }}
|
|
{{- end }}
|