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

docs: fix Rule spec document typos #24319

Merged
merged 1 commit into from
Mar 16, 2023
Merged
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
4 changes: 2 additions & 2 deletions pkg/policy/api/rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ type Rule struct {
Ingress []IngressRule `json:"ingress,omitempty"`

// IngressDeny is a list of IngressDenyRule which are enforced at ingress.
// Any rule inserted here will by denied regardless of the allowed ingress
// Any rule inserted here will be denied regardless of the allowed ingress
// rules in the 'ingress' field.
// If omitted or empty, this rule does not apply at ingress.
//
Expand All @@ -78,7 +78,7 @@ type Rule struct {
Egress []EgressRule `json:"egress,omitempty"`

// EgressDeny is a list of EgressDenyRule which are enforced at egress.
// Any rule inserted here will by denied regardless of the allowed egress
// Any rule inserted here will be denied regardless of the allowed egress
// rules in the 'egress' field.
// If omitted or empty, this rule does not apply at egress.
//
Expand Down