Skip to content

Commit

Permalink
Fix the PolicyGenerator ArgoCD Policy
Browse files Browse the repository at this point in the history
ref: https://issues.redhat.com/browse/ACM-10650
Signed-off-by: Dale Haiducek <[email protected]>
(cherry picked from commit 347df6f)
  • Loading branch information
dhaiducek authored and magic-mirror-bot[bot] committed Apr 12, 2024
1 parent e48c021 commit b274bba
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,14 @@ spec:
initContainers:
- args:
- -c
- cp /etc/kustomize/plugin/policy.open-cluster-management.io/v1/policygenerator/PolicyGenerator
/policy-generator/PolicyGenerator
- cp /policy-generator/PolicyGenerator-not-fips-compliant /policy-generator-tmp/PolicyGenerator
command:
- /bin/bash
image: 'registry.redhat.io/rhacm2/multicluster-operators-subscription-rhel8:v{{ (lookup "operator.open-cluster-management.io/v1" "MultiClusterHub" "open-cluster-management" "multiclusterhub").status.currentVersion }}'
image: '{{ (index (lookup "apps/v1" "Deployment" "open-cluster-management" "multicluster-operators-hub-subscription").spec.template.spec.containers 0).image }}'
name: policy-generator-install
volumeMounts:
- mountPath: /policy-generator
name: policy-generator
name: policy-generator-tmp
volumeMounts:
- mountPath: /etc/kustomize/plugin/policy.open-cluster-management.io/v1/policygenerator
name: policy-generator
Expand Down

0 comments on commit b274bba

Please sign in to comment.