8000 TLSRoute: Make v1alpha3 storage · kubernetes-sigs/gateway-api@7b67116 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7b67116

Browse files
committed
TLSRoute: Make v1alpha3 storage
1 parent 236339c commit 7b67116

File tree

4 files changed

+25
-1
lines changed

4 files changed

+25
-1
lines changed

apis/v1alpha2/tlsroute_types.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import (
2424
// +kubebuilder:object:root=true
2525
// +kubebuilder:resource:categories=gateway-api
2626
// +kubebuilder:subresource:status
27-
// +kubebuilder:storageversion
2827
// +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`
2928

3029
// The TLSRoute resource is similar to TCPRoute, but can be configured

apis/v1alpha3/tlsroute_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import (
2626
// +kubebuilder:object:root=true
2727
// +kubebuilder:resource:categories=gateway-api
2828
// +kubebuilder:subresource:status
29+
// +kubebuilder:storageversion
2930
// +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`
3031

3132
// The TLSRoute resource is similar to TCPRoute, but can be configured
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
apiVersion: gateway.networking.k8s.io/v1
2+
kind: Gateway
3+
metadata:
4+
name: example-gateway
5+
spec:
6+
gatewayClassName: example-gateway-class
7+
listeners:
8+
- name: tls
9+
protocol: TLS
10+
port: 443
11+
tls:
12+
mode: Passthrough
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
apiVersion: gateway.networking.k8s.io/v1alpha3
2+
kind: TLSRoute
3+
metadata:
4+
name: example-route
5+
spec:
6+
parentRefs:
7+
- name: example-gateway
8+
sectionName: tls
9+
rules:
10+
- backendRefs:
11+
- name: example-svc
12+
port: 443

0 commit comments

Comments
 (0)
0