github.com/argoproj/argo-cd@v1.8.7/util/helm/testdata/redis/templates/redis-role.yaml (about) 1 {{- if and .Values.rbac.create .Values.rbac.role.rules -}} 2 apiVersion: rbac.authorization.k8s.io/v1 3 kind: Role 4 metadata: 5 name: {{ template "redis.fullname" . }} 6 labels: 7 app: {{ template "redis.name" . }} 8 chart: {{ template "redis.chart" . }} 9 release: "{{ .Release.Name }}" 10 heritage: "{{ .Release.Service }}" 11 rules: 12 {{ toYaml .Values.rbac.role.rules }} 13 {{- end -}}