Skip to content

Commit

Permalink
[nginx] added sync wave to argocd resources
Browse files Browse the repository at this point in the history
  • Loading branch information
gruberdev committed Sep 9, 2023
1 parent 7646a81 commit 9bde5f0
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/networking/ingress-nginx/cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
apiVersion: v1
kind: ConfigMap
metadata:
annotations:
argocd.argoproj.io/sync-wave: "-1"
argocd.argoproj.io/sync-options: Replace=true
labels:
app.kubernetes.io/name: ingress-nginx
app.kubernetes.io/part-of: ingress-nginx
Expand Down
1 change: 1 addition & 0 deletions apps/networking/ingress-nginx/cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
annotations:
argocd.argoproj.io/sync-wave: "-1"
argocd.argoproj.io/sync-options: Replace=true
labels:
app.kubernetes.io/name: ingress-nginx
Expand Down
1 change: 1 addition & 0 deletions apps/networking/ingress-nginx/rb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
annotations:
argocd.argoproj.io/sync-wave: "-1"
argocd.argoproj.io/sync-options: Replace=true
labels:
app.kubernetes.io/name: ingress-nginx
Expand Down
1 change: 1 addition & 0 deletions apps/networking/ingress-nginx/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
annotations:
argocd.argoproj.io/sync-wave: "-1"
argocd.argoproj.io/sync-options: Replace=true
labels:
app.kubernetes.io/name: ingress-nginx
Expand Down
3 changes: 3 additions & 0 deletions apps/networking/ingress-nginx/sa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@ metadata:
app.kubernetes.io/part-of: ingress-nginx
app.kubernetes.io/component: controller
name: ingress-nginx
annotations:
argocd.argoproj.io/sync-wave: "-1"
argocd.argoproj.io/sync-options: Replace=true
automountServiceAccountToken: true

0 comments on commit 9bde5f0

Please sign in to comment.