Skip to content

Commit

Permalink
GPX-712 [Betrieb] Vorbereitungsarbeiten techn. Betrieb MEGA
Browse files Browse the repository at this point in the history
fix permission problem with group to role mapping

Signed-off-by: fhochleitner <felix.hochleitner@outlook.com>
  • Loading branch information
fhochleitner committed Aug 3, 2023
1 parent f504c0d commit 6e0cea0
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion infra/gp-kyverno/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: gp-kyverno
description: A Helm chart for deploying kyverno on gepaplexx openshift clusters

type: application
version: 1.0.6
version: 1.0.7

appVersion: "1.9.1"
dependencies:
Expand Down
21 changes: 21 additions & 0 deletions infra/gp-kyverno/templates/rbac.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: kyverno-auth-role
rules:
- apiGroups: ["authorization.openshift.io"]
resources: ["rolebinidngs"]
verbs: ["create", "list", "update", "get", "delete"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: kyverno-auth-rolebinding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: kyverno-auth-role
subjects:
- kind: ServiceAccount
name: {{ .Release.Name }}-background-controller
namespace: {{ .Release.Namespace }}

0 comments on commit 6e0cea0

Please sign in to comment.