Skip to content

Commit

Permalink
Minor: Changed gateway-api resources from v1beta1 to v1
Browse files Browse the repository at this point in the history
  • Loading branch information
PurseChicken committed Jan 22, 2025
1 parent 17471df commit 228a3b9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions charts/gateway-api-chart/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
- Deprecated
- Removed -->

## [v1.1.0] - 2025-01-21

### Changed

- Changed to v1 gateway-api resources

## [v1.0.0] - 2025-01-07

### Added
Expand Down
2 changes: 1 addition & 1 deletion charts/gateway-api-chart/templates/gateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{{- range .Values.gateway }}
---
kind: Gateway
apiVersion: gateway.networking.k8s.io/v1beta1
apiVersion: gateway.networking.k8s.io/v1
metadata:
name: {{ .name }}
{{- if .issuer }}
Expand Down
6 changes: 3 additions & 3 deletions charts/gateway-api-chart/templates/httproute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{{- range .Values.httpRoute }}
---
kind: HTTPRoute
apiVersion: gateway.networking.k8s.io/v1beta1
apiVersion: gateway.networking.k8s.io/v1
metadata:
name: {{ .name }}
labels:
Expand All @@ -18,7 +18,7 @@ spec:
{{- if .redirectHTTP }}
---
kind: HTTPRoute
apiVersion: gateway.networking.k8s.io/v1beta1
apiVersion: gateway.networking.k8s.io/v1
metadata:
name: {{ .name }}-{{ .redirectHTTP.httpListenerName | default "http" }}-redirect
labels:
Expand All @@ -43,7 +43,7 @@ spec:
{{- range .redirectHost }}
---
kind: HTTPRoute
apiVersion: gateway.networking.k8s.io/v1beta1
apiVersion: gateway.networking.k8s.io/v1
metadata:
name: {{ $routeName }}-{{ .listenerName }}-redirect
labels:
Expand Down

0 comments on commit 228a3b9

Please sign in to comment.