Skip to content

Commit

Permalink
feat: apply sync-wave annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsimonemms committed Nov 8, 2024
1 parent c4da928 commit 695bcd5
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 0 deletions.
2 changes: 2 additions & 0 deletions registry/clusters/dev/cert-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ kind: Application
metadata:
name: cert-manager-components
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "10"
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
Expand Down
24 changes: 24 additions & 0 deletions registry/clusters/dev/external-dns.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: cert-manager-components
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: '10'
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: https://github.com/mrsimonemms/infrastructure
path: registry/clusters/dev/components/cert-manager
targetRevision: HEAD
destination:
server: https://kubernetes.default.svc
namespace: cert-manager
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
2 changes: 2 additions & 0 deletions registry/clusters/dev/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ kind: Application
metadata:
name: registry
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "-1"
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
Expand Down
2 changes: 2 additions & 0 deletions registry/clusters/dev/vault.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ kind: Application
metadata:
name: vault-components
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: '10'
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
Expand Down
2 changes: 2 additions & 0 deletions registry/clusters/prod/cert-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ kind: Application
metadata:
name: cert-manager-components
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "10"
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
Expand Down
2 changes: 2 additions & 0 deletions registry/clusters/prod/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ kind: Application
metadata:
name: registry
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "-1"
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
Expand Down
2 changes: 2 additions & 0 deletions registry/clusters/prod/vault.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ kind: Application
metadata:
name: vault-components
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "10"
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
Expand Down

0 comments on commit 695bcd5

Please sign in to comment.