Skip to content

Commit

Permalink
add patch needed for OpenShift 4.11+
Browse files Browse the repository at this point in the history
  • Loading branch information
jtriley committed Sep 27, 2023
1 parent ad05a81 commit d44b630
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gatekeeper-system/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ resources:
#
# [1]: https://open-policy-agent.github.io/gatekeeper/website/docs/vendor-specific#running-on-openshift-4x
patches:
- target:
kind: Deployment
patch: |
- op: remove
path: /spec/template/spec/containers/0/securityContext/runAsUser
- target:
kind: Role
name: gatekeeper-manager-role
Expand Down

0 comments on commit d44b630

Please sign in to comment.