19 lines
449 B
YAML
19 lines
449 B
YAML
{{- if .Values.global.acls.manageSystemACLs }}
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRole
|
|
metadata:
|
|
name: {{ template "consul.fullname" . }}-auth-method
|
|
labels:
|
|
app: {{ template "consul.name" . }}
|
|
chart: {{ template "consul.chart" . }}
|
|
heritage: {{ .Release.Service }}
|
|
release: {{ .Release.Name }}
|
|
component: auth-method
|
|
rules:
|
|
- apiGroups: [ "" ]
|
|
resources:
|
|
- serviceaccounts
|
|
verbs:
|
|
- get
|
|
{{- end }}
|