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

enable policy enforcement namespace wide #930

Merged
merged 1 commit into from
Oct 19, 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
2 changes: 0 additions & 2 deletions deployments/CRD/KubeArmorPolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1151,8 +1151,6 @@ spec:
items:
type: string
type: array
required:
- selector
type: object
status:
description: KubeArmorPolicyStatus defines the observed state of KubeArmorPolicy
Expand Down
2 changes: 1 addition & 1 deletion pkg/KubeArmorController/api/v1/kubearmorpolicy_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ type SELinuxType struct {

// KubeArmorPolicySpec defines the desired state of KubeArmorPolicy
type KubeArmorPolicySpec struct {
Selector SelectorType `json:"selector"`
Selector SelectorType `json:"selector,omitempty"`

Process ProcessType `json:"process,omitempty"`
File FileType `json:"file,omitempty"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1151,8 +1151,6 @@ spec:
items:
type: string
type: array
required:
- selector
type: object
status:
description: KubeArmorPolicyStatus defines the observed state of KubeArmorPolicy
Expand Down
2 changes: 0 additions & 2 deletions pkg/KubeArmorController/crd/KubeArmorPolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1151,8 +1151,6 @@ spec:
items:
type: string
type: array
required:
- selector
type: object
status:
description: KubeArmorPolicyStatus defines the observed state of KubeArmorPolicy
Expand Down