Skip to content

Commit

Permalink
Merge pull request #219 from tssurya/clarify-subjects
Browse files Browse the repository at this point in the history
Ensure we clarify subjects don't include host-net pods
  • Loading branch information
k8s-ci-robot authored Apr 18, 2024
2 parents 44e32fe + a92d42c commit 669dfbc
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions apis/v1alpha1/adminnetworkpolicy_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ type AdminNetworkPolicySpec struct {
Priority int32 `json:"priority"`

// Subject defines the pods to which this AdminNetworkPolicy applies.
// Note that host-networked pods are not included in subject selection.
//
// Support: Core
//
Expand Down
1 change: 1 addition & 0 deletions apis/v1alpha1/baselineadminnetworkpolicy_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ type BaselineAdminNetworkPolicyStatus struct {
// BaselineAdminNetworkPolicy.
type BaselineAdminNetworkPolicySpec struct {
// Subject defines the pods to which this BaselineAdminNetworkPolicy applies.
// Note that host-networked pods are not included in subject selection.
//
// Support: Core
//
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -832,6 +832,7 @@ spec:
subject:
description: |-
Subject defines the pods to which this AdminNetworkPolicy applies.
Note that host-networked pods are not included in subject selection.
Support: Core
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -804,6 +804,7 @@ spec:
subject:
description: |-
Subject defines the pods to which this BaselineAdminNetworkPolicy applies.
Note that host-networked pods are not included in subject selection.
Support: Core
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -716,6 +716,7 @@ spec:
subject:
description: |-
Subject defines the pods to which this AdminNetworkPolicy applies.
Note that host-networked pods are not included in subject selection.
Support: Core
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -688,6 +688,7 @@ spec:
subject:
description: |-
Subject defines the pods to which this BaselineAdminNetworkPolicy applies.
Note that host-networked pods are not included in subject selection.
Support: Core
Expand Down

0 comments on commit 669dfbc

Please sign in to comment.