From 7261f41c01a0d6201e94e4143fc83e8e9a40e9f9 Mon Sep 17 00:00:00 2001 From: Alexandre ABRIOUX Date: Tue, 22 Nov 2022 17:08:28 +0100 Subject: [PATCH 1/2] fix(helm): update ingress apiVersion --- deploy/helm/wg-access-server/templates/ingress.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/helm/wg-access-server/templates/ingress.yaml b/deploy/helm/wg-access-server/templates/ingress.yaml index 7b0b4109..59b15e98 100644 --- a/deploy/helm/wg-access-server/templates/ingress.yaml +++ b/deploy/helm/wg-access-server/templates/ingress.yaml @@ -1,6 +1,6 @@ {{- if .Values.ingress.enabled -}} {{- $fullName := include "wg-access-server.fullname" . -}} -apiVersion: networking.k8s.io/v1beta1 +apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: {{ $fullName }} From cb593c7ae0fcb3de8e38517984573342d649e558 Mon Sep 17 00:00:00 2001 From: Alexandre ABRIOUX Date: Tue, 22 Nov 2022 17:39:26 +0100 Subject: [PATCH 2/2] fix(helm): update ingress host rule --- deploy/helm/wg-access-server/templates/ingress.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/deploy/helm/wg-access-server/templates/ingress.yaml b/deploy/helm/wg-access-server/templates/ingress.yaml index 59b15e98..11929016 100644 --- a/deploy/helm/wg-access-server/templates/ingress.yaml +++ b/deploy/helm/wg-access-server/templates/ingress.yaml @@ -27,8 +27,11 @@ spec: http: paths: - path: / + pathType: ImplementationSpecific backend: - serviceName: {{ $fullName }}-web - servicePort: 80 + service: + name: {{ $fullName }}-web + port: + number: 80 {{- end }} {{- end }}