Skip to content

Commit b236393

Browse files
zachsmith1claude
andcommitted
chore: regenerate TPP CRD manifest after targetRef kind restriction
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 5a82d24 commit b236393

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

config/crd/bases/networking.datumapis.com_trafficprotectionpolicies.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,10 @@ spec:
237237
- message: this policy can only have a targetRefs[*].group of gateway.networking.k8s.io
238238
rule: 'has(self.targetRefs) ? self.targetRefs.all(ref, ref.group ==
239239
''gateway.networking.k8s.io'') : true '
240-
- message: this policy can only have a targetRefs[*].kind of Gateway/HTTPRoute
240+
- message: this policy can only have a targetRefs[*].kind of Gateway or
241+
GatewayClass
241242
rule: 'has(self.targetRefs) ? self.targetRefs.all(ref, ref.kind in [''Gateway'',
242-
''HTTPRoute'']) : true '
243+
''GatewayClass'']) : true'
243244
status:
244245
description: TrafficProtectionPolicyStatus defines the observed state
245246
of TrafficProtectionPolicy.

0 commit comments

Comments
 (0)