Skip to content

Commit 1e7e64f

Browse files
Add policy label to BackendLBPolicy to make it recognizable in gwctl (#3195)
* Add policy label to BackendLBPolicy to make it recognizable in gwctl * Run ./hack/update-codegen.sh
1 parent 28e4080 commit 1e7e64f

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

apis/v1alpha2/backendlbpolicy_types.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ import (
2626
// +kubebuilder:storageversion
2727
// +kubebuilder:resource:categories=gateway-api,shortName=blbpolicy
2828
// +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`
29+
//
30+
// BackendLBPolicy is a Direct Attached Policy.
31+
// +kubebuilder:metadata:labels="gateway.networking.k8s.io/policy=Direct"
2932

3033
// BackendLBPolicy provides a way to define load balancing rules
3134
// for a backend.

config/crd/experimental/gateway.networking.k8s.io_backendlbpolicies.yaml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)