Skip to content

Commit 81ce584

Browse files
committed
updates for new networking.k8s.io/Ingress standard
1 parent 7b12250 commit 81ce584

File tree

4 files changed

+18
-10
lines changed

4 files changed

+18
-10
lines changed

charts/platform-api/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
apiVersion: v1
22
name: ushahidi-platform-api
3-
version: 0.0.1-alpha.26
3+
version: 0.0.1-alpha.27
44
icon: https://github.ushahidi.org/helm-charts/icon.png

charts/platform-api/templates/api-worker.yml

+8-4
Original file line numberDiff line numberDiff line change
@@ -883,17 +883,21 @@ spec:
883883
paths:
884884
- path: /
885885
backend:
886-
serviceName: api
887-
servicePort: http
886+
service:
887+
name: api
888+
port:
889+
name: http
888890
{{- if .Values.api.ingress.aliases -}}
889891
{{- range .Values.api.ingress.aliases }}
890892
- host: {{ . | quote }}
891893
http:
892894
paths:
893895
- path: /
894896
backend:
895-
serviceName: client
896-
servicePort: http
897+
service:
898+
name: client
899+
port:
900+
name: http
897901
{{- end -}}
898902
{{- end -}}
899903

charts/platform-client/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
apiVersion: v1
22
name: ushahidi-platform-client
3-
version: 0.0.1-alpha.13
3+
version: 0.0.1-alpha.14
44
icon: https://github.ushahidi.org/helm-charts/icon.png

charts/platform-client/templates/client.yml

+8-4
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,10 @@ spec:
131131
paths:
132132
- path: /
133133
backend:
134-
serviceName: client
135-
servicePort: http
134+
service:
135+
name: client
136+
port:
137+
name: http
136138

137139
{{- if .Values.ingress.aliases -}}
138140
{{- range .Values.ingress.aliases }}
@@ -141,8 +143,10 @@ spec:
141143
paths:
142144
- path: /
143145
backend:
144-
serviceName: client
145-
servicePort: http
146+
service:
147+
name: client
148+
port:
149+
name: http
146150
{{- end -}}
147151
{{- end -}}
148152

0 commit comments

Comments
 (0)