From c6964cec79983b85b60a99f1990d4e5f9a0f2c8f Mon Sep 17 00:00:00 2001 From: gruberdev Date: Sat, 9 Sep 2023 07:06:07 -0300 Subject: [PATCH] [argocd] changed nginx ingress namespace --- apps/argocd/base/core/nginx-ingress.yaml | 4 ++-- apps/networking/ingress-nginx/deployment.yaml | 4 ++-- apps/networking/ingress-nginx/kustomization.yaml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/argocd/base/core/nginx-ingress.yaml b/apps/argocd/base/core/nginx-ingress.yaml index 51fedb5d4..70b459583 100644 --- a/apps/argocd/base/core/nginx-ingress.yaml +++ b/apps/argocd/base/core/nginx-ingress.yaml @@ -9,7 +9,7 @@ spec: path: apps/networking/ingress-nginx targetRevision: main destination: - namespace: ingress + namespace: networking name: in-cluster syncPolicy: automated: @@ -20,7 +20,7 @@ spec: - Validate=false - CreateNamespace=false - PrunePropagationPolicy=foreground - - PruneLast=false + - PruneLast=true - Prune=true retry: limit: 10 diff --git a/apps/networking/ingress-nginx/deployment.yaml b/apps/networking/ingress-nginx/deployment.yaml index 44da95d53..b1f592198 100644 --- a/apps/networking/ingress-nginx/deployment.yaml +++ b/apps/networking/ingress-nginx/deployment.yaml @@ -42,7 +42,7 @@ spec: - --validating-webhook=:8443 - --validating-webhook-certificate=/usr/local/certificates/cert - --validating-webhook-key=/usr/local/certificates/key - securityContext: + securityContext: capabilities: drop: - ALL @@ -61,7 +61,7 @@ spec: fieldPath: metadata.namespace - name: LD_PRELOAD value: /usr/local/lib/libmimalloc.so - livenessProbe: + livenessProbe: failureThreshold: 5 httpGet: path: /healthz diff --git a/apps/networking/ingress-nginx/kustomization.yaml b/apps/networking/ingress-nginx/kustomization.yaml index 2027b0653..6acb54100 100644 --- a/apps/networking/ingress-nginx/kustomization.yaml +++ b/apps/networking/ingress-nginx/kustomization.yaml @@ -13,4 +13,4 @@ resources: - sa.yaml - ./admission-webhooks -namespace: ingress +namespace: networking