mirror of
https://github.com/bitnami/charts.git
synced 2026-03-09 15:38:00 +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>
22 lines
806 B
YAML
22 lines
806 B
YAML
{{- if .Values.rbac.create }}
|
|
kind: Role
|
|
apiVersion: {{ include "common.capabilities.rbac.apiVersion" . }}
|
|
metadata:
|
|
name: {{ printf "%s-endpoint-reader" (include "common.names.fullname" .) }}
|
|
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 .Values.commonAnnotations }}
|
|
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
rules:
|
|
- apiGroups: [""]
|
|
resources: ["endpoints"]
|
|
verbs: ["get"]
|
|
- apiGroups: [""]
|
|
resources: ["events"]
|
|
verbs: ["create"]
|
|
{{- end }}
|