From 46d9aa50511db5746b55cccf47de5dcb62aec336 Mon Sep 17 00:00:00 2001 From: Andrey Kartashov Date: Thu, 17 Dec 2020 03:06:15 +0700 Subject: [PATCH] argocd: fix ingress api version --- apps/argocd/ingress.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/apps/argocd/ingress.yaml b/apps/argocd/ingress.yaml index 721ea7e..5a1d6fc 100644 --- a/apps/argocd/ingress.yaml +++ b/apps/argocd/ingress.yaml @@ -1,5 +1,5 @@ # https://argoproj.github.io/argo-cd/operator-manual/ingress/#ssl-passthrough-with-cert-manager-and-lets-encrypt -apiVersion: networking.k8s.io/v1beta1 +apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: argocd-server-ingress @@ -13,9 +13,13 @@ spec: rules: - http: paths: - - backend: - serviceName: argocd-server - servicePort: https + - path: / + pathType: Prefix + backend: + service: + name: argocd-server + port: + name: https host: argocd.gorilych.ru tls: - hosts: