Skip to content

Commit

Permalink
[nginx] added hook to validating pre-sync
Browse files Browse the repository at this point in the history
  • Loading branch information
gruberdev committed Sep 9, 2023
1 parent 380af8a commit c00606f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/networking/ingress-nginx/admission-webhooks/cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ kind: ClusterRole
metadata:
name: ingress-nginx-admission
annotations:
argocd.argoproj.io/hook: PreSync
argocd.argoproj.io/sync-wave: "-1"
argocd.argoproj.io/sync-options: Replace=true
labels:
Expand Down
1 change: 1 addition & 0 deletions apps/networking/ingress-nginx/admission-webhooks/crb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ kind: ClusterRoleBinding
metadata:
name: ingress-nginx-admission
annotations:
argocd.argoproj.io/hook: PreSync
argocd.argoproj.io/sync-wave: "-1"
argocd.argoproj.io/sync-options: Replace=true
labels:
Expand Down
1 change: 1 addition & 0 deletions apps/networking/ingress-nginx/admission-webhooks/rb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ kind: RoleBinding
metadata:
name: ingress-nginx-admission
annotations:
argocd.argoproj.io/hook: PreSync
argocd.argoproj.io/sync-wave: "-1"
argocd.argoproj.io/sync-options: Replace=true
labels:
Expand Down
1 change: 1 addition & 0 deletions apps/networking/ingress-nginx/admission-webhooks/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ kind: Role
metadata:
name: ingress-nginx-admission
annotations:
argocd.argoproj.io/hook: PreSync
argocd.argoproj.io/sync-wave: "-1"
argocd.argoproj.io/sync-options: Replace=true
labels:
Expand Down
1 change: 1 addition & 0 deletions apps/networking/ingress-nginx/admission-webhooks/sa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ kind: ServiceAccount
metadata:
name: ingress-nginx-admission
annotations:
argocd.argoproj.io/hook: PreSync
argocd.argoproj.io/sync-wave: "-1"
argocd.argoproj.io/sync-options: Replace=true
labels:
Expand Down

0 comments on commit c00606f

Please sign in to comment.