Skip to content

Commit 33a355a

Browse files
committed
Update authorizationPolicy selector comment
Signed-off-by: Jackie Elliott <[email protected]>
1 parent 80fab17 commit 33a355a

6 files changed

+10
-6
lines changed

security/v1/authorization_policy.pb.go

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

security/v1/authorization_policy.proto

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,8 @@ message AuthorizationPolicy {
467467
// in the same namespace as the authorization policy. If the authorization policy is in the root namespace, the selector
468468
// will additionally match with workloads in all namespaces.
469469
//
470-
// If not set, the selector will match all workloads. At most one of the selector and targetRef can be set.
470+
// If the selector and the targetRef are not set, the selector will match all workloads. At most one of the selector
471+
// and targetRef can be set.
471472
istio.type.v1beta1.WorkloadSelector selector = 1;
472473

473474
// $hide_from_docs

security/v1beta1/authorization_policy.pb.go

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

security/v1beta1/authorization_policy.pb.html

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

security/v1beta1/authorization_policy.proto

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,8 @@ message AuthorizationPolicy {
467467
// in the same namespace as the authorization policy. If the authorization policy is in the root namespace, the selector
468468
// will additionally match with workloads in all namespaces.
469469
//
470-
// If not set, the selector will match all workloads. At most one of the selector and targetRef can be set.
470+
// If the selector and the targetRef are not set, the selector will match all workloads. At most one of the selector
471+
// and targetRef can be set.
471472
istio.type.v1beta1.WorkloadSelector selector = 1;
472473

473474
// $hide_from_docs

type/v1beta1/selector.proto

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,3 @@ message PolicyTargetReference {
9494
// $hide_from_docs
9595
optional string namespace = 4;
9696
}
97-

0 commit comments

Comments
 (0)