diff --git a/deploy/helm/wg-access-server/templates/ingress.yaml b/deploy/helm/wg-access-server/templates/ingress.yaml index 7b0b4109..11929016 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 }} @@ -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 }}