mirror of
https://github.com/bitnami/charts.git
synced 2026-03-06 15:10:15 +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
789 B
YAML
18 lines
789 B
YAML
{{- if and (.Values.externalRabbitmq.enabled) (not .Values.rabbitmq.enabled) (not .Values.externalRabbitmq.existingPasswordSecret) }}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ printf "%s-%s" (include "scdf.fullname" .) "externalrabbitmq" }}
|
|
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:
|
|
rabbitmq-password: {{ .Values.externalRabbitmq.password | b64enc | quote }}
|
|
{{- end }}
|