From 8d667f5d292c10632d06fe0da5c7a08bd2a88f90 Mon Sep 17 00:00:00 2001 From: gruberdev Date: Sat, 9 Sep 2023 06:36:13 -0300 Subject: [PATCH] [argocd] added syncwave to ingress nginx RBAC --- .../ingress-nginx/admission-webhooks/job-patch/cr.yaml | 2 ++ .../ingress-nginx/admission-webhooks/job-patch/crb.yaml | 2 ++ .../ingress-nginx/admission-webhooks/job-patch/rb.yaml | 2 ++ .../ingress-nginx/admission-webhooks/job-patch/role.yaml | 2 ++ .../ingress-nginx/admission-webhooks/job-patch/sa.yaml | 2 ++ 5 files changed, 10 insertions(+) diff --git a/apps/networking/ingress-nginx/admission-webhooks/job-patch/cr.yaml b/apps/networking/ingress-nginx/admission-webhooks/job-patch/cr.yaml index 4c6bcbcd1..3c226478a 100644 --- a/apps/networking/ingress-nginx/admission-webhooks/job-patch/cr.yaml +++ b/apps/networking/ingress-nginx/admission-webhooks/job-patch/cr.yaml @@ -3,6 +3,8 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: ingress-nginx-admission + annotations: + argocd.argoproj.io/sync-wave: "-1" labels: app.kubernetes.io/name: ingress-nginx app.kubernetes.io/part-of: ingress-nginx diff --git a/apps/networking/ingress-nginx/admission-webhooks/job-patch/crb.yaml b/apps/networking/ingress-nginx/admission-webhooks/job-patch/crb.yaml index 4aa044863..6f9d82be4 100644 --- a/apps/networking/ingress-nginx/admission-webhooks/job-patch/crb.yaml +++ b/apps/networking/ingress-nginx/admission-webhooks/job-patch/crb.yaml @@ -3,6 +3,8 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: ingress-nginx-admission + annotations: + argocd.argoproj.io/sync-wave: "-1" labels: app.kubernetes.io/name: ingress-nginx app.kubernetes.io/part-of: ingress-nginx diff --git a/apps/networking/ingress-nginx/admission-webhooks/job-patch/rb.yaml b/apps/networking/ingress-nginx/admission-webhooks/job-patch/rb.yaml index ee5e37098..1d88e72f3 100644 --- a/apps/networking/ingress-nginx/admission-webhooks/job-patch/rb.yaml +++ b/apps/networking/ingress-nginx/admission-webhooks/job-patch/rb.yaml @@ -3,6 +3,8 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: ingress-nginx-admission + annotations: + argocd.argoproj.io/sync-wave: "-1" labels: app.kubernetes.io/name: ingress-nginx app.kubernetes.io/part-of: ingress-nginx diff --git a/apps/networking/ingress-nginx/admission-webhooks/job-patch/role.yaml b/apps/networking/ingress-nginx/admission-webhooks/job-patch/role.yaml index 3ad174e93..5e7a3b94c 100644 --- a/apps/networking/ingress-nginx/admission-webhooks/job-patch/role.yaml +++ b/apps/networking/ingress-nginx/admission-webhooks/job-patch/role.yaml @@ -3,6 +3,8 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: name: ingress-nginx-admission + annotations: + argocd.argoproj.io/sync-wave: "-1" labels: app.kubernetes.io/name: ingress-nginx app.kubernetes.io/part-of: ingress-nginx diff --git a/apps/networking/ingress-nginx/admission-webhooks/job-patch/sa.yaml b/apps/networking/ingress-nginx/admission-webhooks/job-patch/sa.yaml index 15ad2f2ce..5de00d782 100644 --- a/apps/networking/ingress-nginx/admission-webhooks/job-patch/sa.yaml +++ b/apps/networking/ingress-nginx/admission-webhooks/job-patch/sa.yaml @@ -3,6 +3,8 @@ apiVersion: v1 kind: ServiceAccount metadata: name: ingress-nginx-admission + annotations: + argocd.argoproj.io/sync-wave: "-1" labels: app.kubernetes.io/name: ingress-nginx app.kubernetes.io/part-of: ingress-nginx