Skip to content

Commit

Permalink
fix: Update docs for Openshift support for the Validating Admission W…
Browse files Browse the repository at this point in the history
…ebhook (#1650)

Signed-off-by: danielm-codefresh <[email protected]>
  • Loading branch information
danielm-codefresh authored Feb 23, 2022
1 parent 64c7e17 commit ad1b19e
Showing 1 changed file with 35 additions and 2 deletions.
37 changes: 35 additions & 2 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,26 @@

kubectl create clusterrolebinding YOURNAME-cluster-admin-binding --clusterrole=cluster-admin [email protected]
* On Openshift, make sure to grant `anyuid` scc to the service account.
* On Openshift:
- Make sure to grant `anyuid` scc to the service account.

oc adm policy add-scc-to-user anyuid system:serviceaccount:argo-events:default
- Add update permissions for the `deployments/finalizers` and `clusterroles/finalizers` of the argo-events-webhook ClusterRole(this is necessary for the vaildating admission controller)

- apiGroups:
- rbac.authorization.k8s.io
resources:
- clusterroles/finalizers
verbs:
- update
- apiGroups:
- apps
resources:
- deployments/finalizers
verbs:
- update


3. Deploy the eventbus.

Expand All @@ -50,9 +67,25 @@

kubectl create clusterrolebinding YOURNAME-cluster-admin-binding --clusterrole=cluster-admin [email protected]
* On Openshift, make sure to grant `anyuid` scc to the service account.
* On Openshift:
- Make sure to grant `anyuid` scc to the service account.

oc adm policy add-scc-to-user anyuid system:serviceaccount:argo-events:default
- Add update permissions for the `deployments/finalizers` and `clusterroles/finalizers` of the argo-events-webhook ClusterRole(this is necessary for the vaildating admission controller)

- apiGroups:
- rbac.authorization.k8s.io
resources:
- clusterroles/finalizers
verbs:
- update
- apiGroups:
- apps
resources:
- deployments/finalizers
verbs:
- update

3. Deploy the eventbus.

Expand Down

0 comments on commit ad1b19e

Please sign in to comment.