Skip to content

Commit

Permalink
chore: update api doc (envoyproxy#2542)
Browse files Browse the repository at this point in the history
* chore: update api doc

Signed-off-by: zirain <zirain2009@gmail.com>

* nits

Signed-off-by: zirain <zirain2009@gmail.com>

---------

Signed-off-by: zirain <zirain2009@gmail.com>
  • Loading branch information
zirain authored Jan 31, 2024
1 parent fb8d48c commit 3e99199
Show file tree
Hide file tree
Showing 6 changed files with 127 additions and 108 deletions.
1 change: 0 additions & 1 deletion api/v1alpha1/securitypolicy_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ type SecurityPolicySpec struct {
// is being attached to.
// This Policy and the TargetRef MUST be in the same namespace
// for this Policy to have effect and be applied to the Gateway.
// TargetRef
TargetRef gwapiv1a2.PolicyTargetReferenceWithSectionName `json:"targetRef"`

// CORS defines the configuration for Cross-Origin Resource Sharing (CORS).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ spec:
description: TargetRef is the name of the Gateway resource this policy
is being attached to. This Policy and the TargetRef MUST be in the
same namespace for this Policy to have effect and be applied to
the Gateway. TargetRef
the Gateway.
properties:
group:
description: Group is the group of the target resource.
Expand Down
Loading

0 comments on commit 3e99199

Please sign in to comment.