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

crd: make followChildren optional #2790

Merged
merged 1 commit into from
Aug 12, 2024
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,7 @@ spec:
items:
properties:
followChildren:
default: false
description: In addition to binaries, match children
processes of specified binaries.
type: boolean
Expand All @@ -462,7 +463,6 @@ spec:
type: string
type: array
required:
- followChildren
- operator
- values
type: object
Expand Down Expand Up @@ -1054,6 +1054,7 @@ spec:
items:
properties:
followChildren:
default: false
description: In addition to binaries, match children
processes of specified binaries.
type: boolean
Expand All @@ -1071,7 +1072,6 @@ spec:
type: string
type: array
required:
- followChildren
- operator
- values
type: object
Expand Down Expand Up @@ -1694,6 +1694,7 @@ spec:
items:
properties:
followChildren:
default: false
description: In addition to binaries, match children
processes of specified binaries.
type: boolean
Expand All @@ -1711,7 +1712,6 @@ spec:
type: string
type: array
required:
- followChildren
- operator
- values
type: object
Expand Down Expand Up @@ -2271,6 +2271,7 @@ spec:
items:
properties:
followChildren:
default: false
description: In addition to binaries, match children
processes of specified binaries.
type: boolean
Expand All @@ -2288,7 +2289,6 @@ spec:
type: string
type: array
required:
- followChildren
- operator
- values
type: object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,7 @@ spec:
items:
properties:
followChildren:
default: false
description: In addition to binaries, match children
processes of specified binaries.
type: boolean
Expand All @@ -462,7 +463,6 @@ spec:
type: string
type: array
required:
- followChildren
- operator
- values
type: object
Expand Down Expand Up @@ -1054,6 +1054,7 @@ spec:
items:
properties:
followChildren:
default: false
description: In addition to binaries, match children
processes of specified binaries.
type: boolean
Expand All @@ -1071,7 +1072,6 @@ spec:
type: string
type: array
required:
- followChildren
- operator
- values
type: object
Expand Down Expand Up @@ -1694,6 +1694,7 @@ spec:
items:
properties:
followChildren:
default: false
description: In addition to binaries, match children
processes of specified binaries.
type: boolean
Expand All @@ -1711,7 +1712,6 @@ spec:
type: string
type: array
required:
- followChildren
- operator
- values
type: object
Expand Down Expand Up @@ -2271,6 +2271,7 @@ spec:
items:
properties:
followChildren:
default: false
description: In addition to binaries, match children
processes of specified binaries.
type: boolean
Expand All @@ -2288,7 +2289,6 @@ spec:
type: string
type: array
required:
- followChildren
- operator
- values
type: object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,7 @@ spec:
items:
properties:
followChildren:
default: false
description: In addition to binaries, match children
processes of specified binaries.
type: boolean
Expand All @@ -462,7 +463,6 @@ spec:
type: string
type: array
required:
- followChildren
- operator
- values
type: object
Expand Down Expand Up @@ -1054,6 +1054,7 @@ spec:
items:
properties:
followChildren:
default: false
description: In addition to binaries, match children
processes of specified binaries.
type: boolean
Expand All @@ -1071,7 +1072,6 @@ spec:
type: string
type: array
required:
- followChildren
- operator
- values
type: object
Expand Down Expand Up @@ -1694,6 +1694,7 @@ spec:
items:
properties:
followChildren:
default: false
description: In addition to binaries, match children
processes of specified binaries.
type: boolean
Expand All @@ -1711,7 +1712,6 @@ spec:
type: string
type: array
required:
- followChildren
- operator
- values
type: object
Expand Down Expand Up @@ -2271,6 +2271,7 @@ spec:
items:
properties:
followChildren:
default: false
description: In addition to binaries, match children
processes of specified binaries.
type: boolean
Expand All @@ -2288,7 +2289,6 @@ spec:
type: string
type: array
required:
- followChildren
- operator
- values
type: object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,7 @@ spec:
items:
properties:
followChildren:
default: false
description: In addition to binaries, match children
processes of specified binaries.
type: boolean
Expand All @@ -462,7 +463,6 @@ spec:
type: string
type: array
required:
- followChildren
- operator
- values
type: object
Expand Down Expand Up @@ -1054,6 +1054,7 @@ spec:
items:
properties:
followChildren:
default: false
description: In addition to binaries, match children
processes of specified binaries.
type: boolean
Expand All @@ -1071,7 +1072,6 @@ spec:
type: string
type: array
required:
- followChildren
- operator
- values
type: object
Expand Down Expand Up @@ -1694,6 +1694,7 @@ spec:
items:
properties:
followChildren:
default: false
description: In addition to binaries, match children
processes of specified binaries.
type: boolean
Expand All @@ -1711,7 +1712,6 @@ spec:
type: string
type: array
required:
- followChildren
- operator
- values
type: object
Expand Down Expand Up @@ -2271,6 +2271,7 @@ spec:
items:
properties:
followChildren:
default: false
description: In addition to binaries, match children
processes of specified binaries.
type: boolean
Expand All @@ -2288,7 +2289,6 @@ spec:
type: string
type: array
required:
- followChildren
- operator
- values
type: object
Expand Down
2 changes: 2 additions & 0 deletions pkg/k8s/apis/cilium.io/v1alpha1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ type BinarySelector struct {
// Value to compare the argument against.
Values []string `json:"values"`
// In addition to binaries, match children processes of specified binaries.
// +kubebuilder:validation:Optional
// +kubebuilder:default=false
FollowChildren bool `json:"followChildren"`
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/k8s/apis/cilium.io/v1alpha1/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ package v1alpha1
// Used to determine if CRD needs to be updated in cluster
//
// Developers: Bump patch for each change in the CRD schema.
const CustomResourceDefinitionSchemaVersion = "1.2.2"
const CustomResourceDefinitionSchemaVersion = "1.2.3"

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading