Skip to content

Commit

Permalink
GTD-134: extensions/v1beta1 deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxpiper committed Aug 5, 2024
1 parent 27f35a7 commit 7b12250
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 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.25
version: 0.0.1-alpha.26
icon: https://github.ushahidi.org/helm-charts/icon.png
2 changes: 1 addition & 1 deletion charts/platform-api/templates/api-worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,7 @@ spec:

{{- if .Values.api.ingress.enabled }}
---
apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
{{- if .Values.api.ingress.annotations }}
Expand Down
5 changes: 4 additions & 1 deletion charts/platform-api/tests/values/multi-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ api:
cpu: "100m"
memory: "512Mi"
ingress:
host: io-test-api.staging.ush.zone # later: "*.api.ushahidi.io"
enabled: true
host: io-test-api.staging.ush.zone
aliases:
- '*.api.ushahidi.io'
annotations:
external-dns.alpha.kubernetes.io/hostname: io-test-1.staging.ush.zone # ensure we control this
worker:
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.12
version: 0.0.1-alpha.13
icon: https://github.ushahidi.org/helm-charts/icon.png
2 changes: 1 addition & 1 deletion charts/platform-client/templates/client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ spec:

{{- if .Values.ingress.enabled }}
---
apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
{{- if .Values.ingress.annotations }}
Expand Down

0 comments on commit 7b12250

Please sign in to comment.