Skip to content

Commit 37e3000

Browse files
committed
chore(gateway): bump gateway api v1
1 parent f63a248 commit 37e3000

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

charts/gateway/templates/drycc-gateway.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
apiVersion: gateway.networking.k8s.io/v1beta1
1+
apiVersion: gateway.networking.k8s.io/v1
22
kind: Gateway
33
metadata:
44
name: drycc-gateway
5+
{{- if .Values.global.certManagerEnabled}}
6+
annotations:
7+
cert-manager.io/issuer: drycc-issuer
8+
{{- end }}
59
spec:
610
gatewayClassName: {{ .Values.global.gatewayClass }}
711
listeners:

charts/gateway/templates/drycc-route.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{{ range $index, $app := .Values.apps }}
22
---
3-
apiVersion: gateway.networking.k8s.io/{{ if (eq $app.protocol "HTTP") }}v1beta1{{ else }}v1alpha2{{ end }}
3+
apiVersion: gateway.networking.k8s.io/{{ if (eq $app.protocol "HTTP") }}v1{{ else }}v1alpha2{{ end }}
44
kind: {{ $app.protocol }}Route
55
metadata:
66
name: {{ $app.name }}

0 commit comments

Comments
 (0)