Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add toEntities/fromEntities CRD description missing options #22279

Merged
merged 4 commits into from
Dec 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,8 @@ spec:
toEntities:
description: ToEntities is a list of special entities to which
the endpoint subject to the rule is allowed to initiate connections.
Supported entities are `world`, `cluster` and `host`
Supported entities are `world`, `cluster`,`host`,`remote-node`,`kube-apiserver`,
`init`, `health`,`unmanaged` and `all`.
items:
description: Entity specifies the class of receiver/sender
endpoints that do not have individual identities. Entities
Expand Down Expand Up @@ -1047,7 +1048,8 @@ spec:
toEntities:
description: ToEntities is a list of special entities to which
the endpoint subject to the rule is allowed to initiate connections.
Supported entities are `world`, `cluster` and `host`
Supported entities are `world`, `cluster`,`host`,`remote-node`,`kube-apiserver`,
`init`, `health`,`unmanaged` and `all`.
items:
description: Entity specifies the class of receiver/sender
endpoints that do not have individual identities. Entities
Expand Down Expand Up @@ -2580,8 +2582,8 @@ spec:
toEntities:
description: ToEntities is a list of special entities to which
the endpoint subject to the rule is allowed to initiate
connections. Supported entities are `world`, `cluster` and
`host`
connections. Supported entities are `world`, `cluster`,`host`,`remote-node`,`kube-apiserver`,
`init`, `health`,`unmanaged` and `all`.
items:
description: Entity specifies the class of receiver/sender
endpoints that do not have individual identities. Entities
Expand Down Expand Up @@ -3416,8 +3418,8 @@ spec:
toEntities:
description: ToEntities is a list of special entities to which
the endpoint subject to the rule is allowed to initiate
connections. Supported entities are `world`, `cluster` and
`host`
connections. Supported entities are `world`, `cluster`,`host`,`remote-node`,`kube-apiserver`,
`init`, `health`,`unmanaged` and `all`.
items:
description: Entity specifies the class of receiver/sender
endpoints that do not have individual identities. Entities
Expand Down
14 changes: 8 additions & 6 deletions pkg/k8s/apis/cilium.io/client/crds/v2/ciliumnetworkpolicies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,8 @@ spec:
toEntities:
description: ToEntities is a list of special entities to which
the endpoint subject to the rule is allowed to initiate connections.
Supported entities are `world`, `cluster` and `host`
Supported entities are `world`, `cluster`,`host`,`remote-node`,`kube-apiserver`,
`init`, `health`,`unmanaged` and `all`.
items:
description: Entity specifies the class of receiver/sender
endpoints that do not have individual identities. Entities
Expand Down Expand Up @@ -1051,7 +1052,8 @@ spec:
toEntities:
description: ToEntities is a list of special entities to which
the endpoint subject to the rule is allowed to initiate connections.
Supported entities are `world`, `cluster` and `host`
Supported entities are `world`, `cluster`,`host`,`remote-node`,`kube-apiserver`,
`init`, `health`,`unmanaged` and `all`.
items:
description: Entity specifies the class of receiver/sender
endpoints that do not have individual identities. Entities
Expand Down Expand Up @@ -2584,8 +2586,8 @@ spec:
toEntities:
description: ToEntities is a list of special entities to which
the endpoint subject to the rule is allowed to initiate
connections. Supported entities are `world`, `cluster` and
`host`
connections. Supported entities are `world`, `cluster`,`host`,`remote-node`,`kube-apiserver`,
`init`, `health`,`unmanaged` and `all`.
items:
description: Entity specifies the class of receiver/sender
endpoints that do not have individual identities. Entities
Expand Down Expand Up @@ -3420,8 +3422,8 @@ spec:
toEntities:
description: ToEntities is a list of special entities to which
the endpoint subject to the rule is allowed to initiate
connections. Supported entities are `world`, `cluster` and
`host`
connections. Supported entities are `world`, `cluster`,`host`,`remote-node`,`kube-apiserver`,
`init`, `health`,`unmanaged` and `all`.
items:
description: Entity specifies the class of receiver/sender
endpoints that do not have individual identities. Entities
Expand Down
3 changes: 2 additions & 1 deletion pkg/policy/api/egress.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ type EgressCommonRule struct {

// ToEntities is a list of special entities to which the endpoint subject
// to the rule is allowed to initiate connections. Supported entities are
// `world`, `cluster` and `host`
// `world`, `cluster`,`host`,`remote-node`,`kube-apiserver`, `init`,
// `health`,`unmanaged` and `all`.
//
// +kubebuilder:validation:Optional
ToEntities EntitySlice `json:"toEntities,omitempty"`
Expand Down