Skip to content

Commit

Permalink
Ignore differences for build request annotation (#2374)
Browse files Browse the repository at this point in the history
In order for configuring components usings ArgoCD,
we need to ignore changes to the
build.appstudio.openshift.io/request annotation (it's
being removed by the build controller).

Signed-off-by: gbenhaim <[email protected]>
  • Loading branch information
gbenhaim authored Sep 7, 2023
1 parent df659f6 commit 140bd67
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions argo-cd-apps/base/tenants-config/tenants-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ spec:
destination:
namespace: '{{path.basename}}'
name: '{{path[2]}}'
ignoreDifferences:
- group: appstudio.redhat.com
kind: Component
jsonPointers:
- /metadata/annotations/build.appstudio.openshift.io~1request
syncPolicy:
automated:
prune: true
Expand Down

0 comments on commit 140bd67

Please sign in to comment.