mirror of https://git.rancher.io/charts
40 lines
669 B
YAML
40 lines
669 B
YAML
|
{{- if .Values.rbac.enabled }}
|
||
|
---
|
||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
kind: ClusterRole
|
||
|
metadata:
|
||
|
name: {{ template "logging-operator.fullname" . }}-edit
|
||
|
labels:
|
||
|
rbac.authorization.k8s.io/aggregate-to-admin: "true"
|
||
|
rbac.authorization.k8s.io/aggregate-to-edit: "true"
|
||
|
rules:
|
||
|
- apiGroups:
|
||
|
- logging.banzaicloud.io
|
||
|
resources:
|
||
|
- flows
|
||
|
- outputs
|
||
|
verbs:
|
||
|
- create
|
||
|
- delete
|
||
|
- deletecollection
|
||
|
- get
|
||
|
- list
|
||
|
- patch
|
||
|
- update
|
||
|
- watch
|
||
|
- apiGroups:
|
||
|
- logging.banzaicloud.io
|
||
|
resources:
|
||
|
- syslogngflows
|
||
|
- syslogngoutputs
|
||
|
verbs:
|
||
|
- create
|
||
|
- delete
|
||
|
- deletecollection
|
||
|
- get
|
||
|
- list
|
||
|
- patch
|
||
|
- update
|
||
|
- watch
|
||
|
{{- end }}
|