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