rancher-partner-charts/charts/f5-container-ingress-services/f5-bigip-ctlr/0.0.1901/templates/f5-bigip-ctlr-clusterrole.yaml

98 lines
1.9 KiB
YAML

{{- if .Values.rbac.create -}}
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: {{ template "f5-bigip-ctlr.fullname" . }}
labels:
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/name: {{ template "f5-bigip-ctlr.name" . }}
app: {{ template "f5-bigip-ctlr.name" . }}
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
rules:
- verbs:
- get
- list
- watch
apiGroups:
- ''
- apps
- extensions
- route.openshift.io
- networking.k8s.io
resources:
- nodes
- services
- endpoints
- namespaces
- ingresses
- ingressclasses
- secrets
- pods
- routes
- verbs:
- get
- list
- watch
- update
- create
- patch
apiGroups:
- ''
- apps
- extensions
- route.openshift.io
- networking.k8s.io
resources:
- configmaps
- events
- ingresses/status
- routes/status
- services/status
- verbs:
- get
- list
- watch
- update
- patch
apiGroups:
- cis.f5.com
resources:
- virtualservers
- tlsprofiles
- transportservers
- externaldnses
- ingresslinks
- transportservers/status
- virtualservers/status
- ingresslinks/status
- policies
{{- if .Values.args.ipam }}
- verbs:
- get
- list
- watch
- update
- create
- patch
- delete
apiGroups:
- fic.f5.com
resources:
- ipams
- ipams/status
- verbs:
- get
- list
- watch
- update
- create
- patch
apiGroups:
- apiextensions.k8s.io
resources:
- customresourcedefinitions
{{- end }}
{{- end -}}