Skip to content

Repository for testings with Opa in Kubernetes / Openshift

Notifications You must be signed in to change notification settings

rcarrata/gitops-opa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitOps Management of Gatekeeper / OPA examples

  • Deploy Openshift GitOps
until oc apply -k bootstrap/; do sleep 2; done

oc patch subscriptions.operators.coreos.com/openshift-gitops-operator -n openshift-operators --type='merge' \
--patch '{ "spec": { "config": { "env": [ { "name": "DISABLE_DEX", "value": "false" } ] } } }'

oc patch argocd/openshift-gitops -n openshift-gitops --type='merge' \
--patch='{ "spec": { "dex": { "openShiftOAuth": true } } }'

oc patch cm/argocd-rbac-cm -n openshift-gitops --type=merge -p '{"data":{"policy.default":"role:admin"}}'
  • Deploy Gateekeper Operator/OPA with GitOps:
oc apply -k opa-deploy/base/
  • Deploy Gatekeeper / OPA examples though ArgoCD
oc apply -k opa-examples/config/overlays/default/

Useful Links

About

Repository for testings with Opa in Kubernetes / Openshift

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published