Skip to content

Commit

Permalink
Merge pull request #42 from codefresh-io/fix-openshift
Browse files Browse the repository at this point in the history
Added support for openshift
  • Loading branch information
danielm-codefresh authored Feb 28, 2022
2 parents 098e8b0 + c7a67b7 commit 22a67f3
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,17 @@ rules:
- eventbus
- eventsources
- sensors
- apiGroups:
- rbac.authorization.k8s.io
resources:
- clusterroles
verbs:
- get
- list
- apiGroups:
- apps
resources:
- deployments/finalizers
- clusterroles/finalizers
verbs:
- update
14 changes: 14 additions & 0 deletions manifests/install-validating-webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,20 @@ rules:
- get
- list
- watch
- apiGroups:
- rbac.authorization.k8s.io
resources:
- clusterroles
verbs:
- get
- list
- apiGroups:
- apps
resources:
- deployments/finalizers
- clusterroles/finalizers
verbs:
- update
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
Expand Down

0 comments on commit 22a67f3

Please sign in to comment.