Files
charts/bitnami/rabbitmq/templates/role.yaml
Miguel Ruiz 3315cbd9f3 [bitnami/rabbitmq] Chart standardised (#9817)
* [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>
2022-04-28 19:10:49 +02:00

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 }}