Skip to content

Commit

Permalink
feat: add rule to disable auto sync crd
Browse files Browse the repository at this point in the history
  • Loading branch information
FabrizioCafolla authored Dec 2, 2024
1 parent f77868c commit 4202b8b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/argocd/gitlab-ci-template-gitops-argo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@ sync argocd crds to gitops repo:
expire_in: 1 weeks
paths:
- ${AUTOMATION_REPO_DIR}/argocd-app-crds/
rules:
- if: '${DISABLE_AUTOMATIC_SYNC_CRD} != "true"'

sync to gitops repo:
stage: sync
Expand Down

0 comments on commit 4202b8b

Please sign in to comment.