Skip to content

Commit

Permalink
updates for new networking.k8s.io/Ingress standard
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxpiper committed Aug 5, 2024
1 parent 7b12250 commit 81ce584
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 10 deletions.
2 changes: 1 addition & 1 deletion charts/platform-api/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
12 changes: 8 additions & 4 deletions charts/platform-api/templates/api-worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -883,17 +883,21 @@ 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 }}
http:
paths:
- path: /
backend:
serviceName: client
servicePort: http
service:
name: client
port:
name: http
{{- end -}}
{{- end -}}

Expand Down
2 changes: 1 addition & 1 deletion charts/platform-client/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
12 changes: 8 additions & 4 deletions charts/platform-client/templates/client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -141,8 +143,10 @@ spec:
paths:
- path: /
backend:
serviceName: client
servicePort: http
service:
name: client
port:
name: http
{{- end -}}
{{- end -}}

Expand Down

0 comments on commit 81ce584

Please sign in to comment.