From 1131c93eb63e6ef9f0bcd6e8d76487cc1db4588d Mon Sep 17 00:00:00 2001 From: azhar-DevOps Date: Thu, 11 May 2023 17:14:15 +0530 Subject: [PATCH 1/2] ingress API update --- charts/vouch/templates/ingress.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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 }} + From b419bb624d6738ff550048ab31a6fe9925001d26 Mon Sep 17 00:00:00 2001 From: azhar-DevOps Date: Thu, 11 May 2023 17:23:18 +0530 Subject: [PATCH 2/2] version bump --- charts/vouch/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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