mirror of
https://github.com/bitnami/charts.git
synced 2026-03-16 06:47:30 +08:00
* [bitnami/rabbitmq] Chart standardised Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Update bitnami/rabbitmq/templates/networkpolicy.yaml Signed-off-by: Miguel Ruiz <miruiz@vmware.com> Co-authored-by: Francisco de Paz Galán <fdepaz@vmware.com> * Update bitnami/rabbitmq/templates/secrets.yaml Signed-off-by: Miguel Ruiz <miruiz@vmware.com> Co-authored-by: Francisco de Paz Galán <fdepaz@vmware.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <containers@bitnami.com> * Apply suggestions Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <containers@bitnami.com> * Update VIB parameters Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <containers@bitnami.com> * [bitnami/rabbitmq] Update components versions Signed-off-by: Bitnami Containers <containers@bitnami.com> Co-authored-by: Francisco de Paz Galán <fdepaz@vmware.com> Co-authored-by: Bitnami Containers <containers@bitnami.com>
25 lines
1.0 KiB
YAML
25 lines
1.0 KiB
YAML
{{- if .Values.serviceAccount.create }}
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: {{ include "rabbitmq.serviceAccountName" . }}
|
|
namespace: {{ include "common.names.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 or .Values.serviceAccount.annotations .Values.commonAnnotations }}
|
|
annotations:
|
|
{{- if .Values.commonAnnotations }}
|
|
{{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
{{- if .Values.serviceAccount.annotations }}
|
|
{{- include "common.tplvalues.render" (dict "value" .Values.serviceAccount.annotations "context" $) | nindent 4 }}
|
|
{{- end }}
|
|
{{- end }}
|
|
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
|
|
secrets:
|
|
- name: {{ include "common.names.fullname" . }}
|
|
{{- end }}
|
|
|