Skip to content

Commit

Permalink
chore: renaming sar rbac templates
Browse files Browse the repository at this point in the history
Signed-off-by: Ievgenii Shepeliuk <[email protected]>
  • Loading branch information
eshepelyuk committed Jun 1, 2022
1 parent 177dc0d commit 1dc2a83
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
{{- if (and .Values.rbac.create .Values.sar.enabled) -}}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
app: {{ template "opa.name" . }}
chart: {{ template "opa.chart" . }}
heritage: {{ .Release.Service }}
release: {{ .Release.Name }}
component: sar
name: {{ template "opa.sarfullname" . }}
rules:
- apiGroups:
- "authorization.k8s.io"
resources:
- subjectaccessreviews
verbs:
- create
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
Expand Down
19 changes: 0 additions & 19 deletions charts/opa-kube-mgmt/templates/sar-clusterrole.yaml

This file was deleted.

0 comments on commit 1dc2a83

Please sign in to comment.