diff --git a/charts/vouch/Chart.yaml b/charts/vouch/Chart.yaml index 423aca4..96fd907 100644 --- a/charts/vouch/Chart.yaml +++ b/charts/vouch/Chart.yaml @@ -9,4 +9,4 @@ maintainers: name: vouch sources: - https://github.com/vouch/vouch-proxy/ -version: 1.0.0 +version: 1.1.0 diff --git a/charts/vouch/templates/ingress.yaml b/charts/vouch/templates/ingress.yaml index a5161ac..fcb48d8 100644 --- a/charts/vouch/templates/ingress.yaml +++ b/charts/vouch/templates/ingress.yaml @@ -3,7 +3,7 @@ {{- $fullName := include "vouch.fullname" . -}} {{- $svcPort := .Values.service.port -}} {{- if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}} -apiVersion: networking.k8s.io/v1beta1 +apiVersion: networking.k8s.io/v1 {{- else -}} apiVersion: extensions/v1beta1 {{- end }} @@ -34,9 +34,13 @@ spec: paths: {{- range $ingressPaths }} - path: {{ . }} + pathType: Exact backend: - serviceName: {{ $fullName }} - servicePort: http + service: + name: {{ $fullName }} + port: + name: http {{- end }} {{- end }} {{- end }} +