mirror of
https://github.com/bitnami/charts.git
synced 2026-02-27 06:48:01 +08:00
* [bitnami/node] Major version. Adapt Chart to apiVersion: v2 * Bump Node version to 14 * Add bitnami/commons * Add labels and annotations standardizations * Add standardizations * Add more standardizations * Update README * Update dependencies once released new common and mongodb * Add MongoDB common subchart validation * fix: dbsecret only for mongodb * Update bitnami/commons version * Use latest mongodb as subchart * [bitnami/node] Update components versions Signed-off-by: Bitnami Containers <containers@bitnami.com> Co-authored-by: joancafom <jcarmona@bitnami.com> Co-authored-by: Bitnami Containers <containers@bitnami.com>
18 lines
755 B
YAML
18 lines
755 B
YAML
{{- if and .Values.externaldb.enabled .Values.externaldb.broker.serviceInstanceName }}
|
|
apiVersion: servicecatalog.k8s.io/v1beta1
|
|
kind: ServiceBinding
|
|
metadata:
|
|
name: {{ template "common.names.fullname" . }}-binding
|
|
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 }}
|
|
spec:
|
|
instanceRef:
|
|
name: {{ .Values.externaldb.broker.serviceInstanceName }}
|
|
secretName: {{ template "node.secretName" . }}
|
|
{{- end }}
|