Skip to content

Commit

Permalink
[release-1.20] Unhide the targetRef docs (#3010)
Browse files Browse the repository at this point in the history
* Unhide the targetRef docs

* run make gen

---------

Co-authored-by: Jeremy L. Morris <[email protected]>
  • Loading branch information
istio-testing and MorrisLaw authored Dec 1, 2023
1 parent 2e3be44 commit 07971d9
Show file tree
Hide file tree
Showing 10 changed files with 166 additions and 25 deletions.
5 changes: 2 additions & 3 deletions extensions/v1alpha1/wasm.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 19 additions & 1 deletion extensions/v1alpha1/wasm.pb.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions extensions/v1alpha1/wasm.proto
Original file line number Diff line number Diff line change
Expand Up @@ -243,18 +243,17 @@ message WasmPlugin {
// namespace, it will be applied to all applicable workloads in any
// namespace.
//
// At most one of the selector and targetRef can be set.
// At most, only one of the selector or targetRef can be set for a given policy.
istio.type.v1beta1.WorkloadSelector selector = 1;

// $hide_from_docs
// Optional. The targetRef specifies the gateway the policy should be
// applied to. The targeted resource specified will determine which
// workloads the WasmPlugin applies to. The targeted resource must be
// a `Gateway` in the group `gateway.networking.k8s.io`. The gateway
// must be in the same namespace as the policy.
//
// If the `targetRef` is not set, the policy is applied as defined by the selector.
// At most one of the selector and targetRef can be set.
// At most, only one of the selector or targetRef can be set for a given policy.
// Waypoint proxies will not respect selectors even if they match.
istio.type.v1beta1.PolicyTargetReference targetRef = 15;

Expand Down
26 changes: 26 additions & 0 deletions kubernetes/customresourcedefinitions.gen.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions telemetry/v1alpha1/telemetry.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 19 additions & 1 deletion telemetry/v1alpha1/telemetry.pb.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions telemetry/v1alpha1/telemetry.proto
Original file line number Diff line number Diff line change
Expand Up @@ -249,18 +249,17 @@ message Telemetry {
// If not set, the Telemetry policy will be applied to all workloads in the
// same namespace as the Telemetry policy.
//
// At most one of the selector and targetRef can be set.
// At most, only one of the selector or targetRef can be set for a given policy.
istio.type.v1beta1.WorkloadSelector selector = 1;

// $hide_from_docs
// Optional. The targetRef specifies the gateway the policy should be
// applied to. The targeted resource specified will determine which
// workloads the telemetry policy applies to. The targeted resource
// must be a k8s gateway. The resource must be in the same namespace as
// the Telemetry policy.
//
// If not set, the policy is applied as defined by the selector.
// At most one of the selector and targetRef can be set.
// At most, only one of the selector or targetRef can be set for a given policy.
// Waypoint proxies will not respect selectors even if they match.
istio.type.v1beta1.PolicyTargetReference targetRef = 5;

Expand Down
5 changes: 0 additions & 5 deletions type/v1beta1/selector.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

95 changes: 94 additions & 1 deletion type/v1beta1/selector.pb.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 07971d9

Please sign in to comment.