rancher-charts/charts/rancher-logging/103.1.1+up4.4.0/templates/userrole.yaml

40 lines
669 B
YAML
Raw Normal View History

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