ACM, PolicyGenerator Kustomize Pugin, Helm
- Install RHACM Operator into your OpenShift4 cluster
- Label you local cluster with
useglobal=trueandteamargo=true - Boostrap global ArgoCD for policy
oc apply -f bootstrap-acm-global-gitops/setup.yaml- Install Team based ArgoCD's
oc apply -f applicationsets/team-argo-appset.yamlThis uses the PR to implement kustomizeOptions
Add POLICY_GEN_ENABLE_HELM env to generator config
Init - put this back once PR merges in upstream image, for now carrying quay.io/eformat/policy-generator-plugin-image:v1.13.0
initContainers:
- name: policy-generator-install
image: registry.redhat.io/rhacm2/multicluster-operators-subscription-rhel8:v2.7.0-57
command: ["/bin/bash"]
args: ["-c", "cp /etc/kustomize/plugin/policy.open-cluster-management.io/v1/policygenerator/PolicyGenerator /policy-generator/PolicyGenerator"]
volumeMounts:
- mountPath: /policy-generator
name: policy-generator