From 81ce5841b44e46644ec27e654566db14f6e126a1 Mon Sep 17 00:00:00 2001 From: David Losada Carballo Date: Mon, 5 Aug 2024 14:46:35 +0200 Subject: [PATCH] updates for new networking.k8s.io/Ingress standard --- charts/platform-api/Chart.yaml | 2 +- charts/platform-api/templates/api-worker.yml | 12 ++++++++---- charts/platform-client/Chart.yaml | 2 +- charts/platform-client/templates/client.yml | 12 ++++++++---- 4 files changed, 18 insertions(+), 10 deletions(-) diff --git a/charts/platform-api/Chart.yaml b/charts/platform-api/Chart.yaml index b7c6885..fb3957d 100644 --- a/charts/platform-api/Chart.yaml +++ b/charts/platform-api/Chart.yaml @@ -1,4 +1,4 @@ apiVersion: v1 name: ushahidi-platform-api -version: 0.0.1-alpha.26 +version: 0.0.1-alpha.27 icon: https://github.ushahidi.org/helm-charts/icon.png diff --git a/charts/platform-api/templates/api-worker.yml b/charts/platform-api/templates/api-worker.yml index aab06ad..ebd5d7b 100644 --- a/charts/platform-api/templates/api-worker.yml +++ b/charts/platform-api/templates/api-worker.yml @@ -883,8 +883,10 @@ spec: paths: - path: / backend: - serviceName: api - servicePort: http + service: + name: api + port: + name: http {{- if .Values.api.ingress.aliases -}} {{- range .Values.api.ingress.aliases }} - host: {{ . | quote }} @@ -892,8 +894,10 @@ spec: paths: - path: / backend: - serviceName: client - servicePort: http + service: + name: client + port: + name: http {{- end -}} {{- end -}} diff --git a/charts/platform-client/Chart.yaml b/charts/platform-client/Chart.yaml index 8351c1d..b3c21f3 100644 --- a/charts/platform-client/Chart.yaml +++ b/charts/platform-client/Chart.yaml @@ -1,4 +1,4 @@ apiVersion: v1 name: ushahidi-platform-client -version: 0.0.1-alpha.13 +version: 0.0.1-alpha.14 icon: https://github.ushahidi.org/helm-charts/icon.png diff --git a/charts/platform-client/templates/client.yml b/charts/platform-client/templates/client.yml index 34b6485..eba7eea 100644 --- a/charts/platform-client/templates/client.yml +++ b/charts/platform-client/templates/client.yml @@ -131,8 +131,10 @@ spec: paths: - path: / backend: - serviceName: client - servicePort: http + service: + name: client + port: + name: http {{- if .Values.ingress.aliases -}} {{- range .Values.ingress.aliases }} @@ -141,8 +143,10 @@ spec: paths: - path: / backend: - serviceName: client - servicePort: http + service: + name: client + port: + name: http {{- end -}} {{- end -}}