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

Update seccompprofile_types.go to change errnoRet to be of type uint #1770

Merged
merged 4 commits into from
Aug 24, 2023
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
2 changes: 1 addition & 1 deletion api/seccompprofile/v1beta1/seccompprofile_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ type Syscall struct {
Action seccomp.Action `json:"action"`
// the errno return code to use. Some actions like SCMP_ACT_ERRNO and
// SCMP_ACT_TRACE allow to specify the errno code to return
ErrnoRet string `json:"errnoRet,omitempty"`
ErrnoRet uint `json:"errnoRet,omitempty"`
// the specific syscall in seccomp
// +kubebuilder:validation:MaxItems=6
Args []*Arg `json:"args,omitempty"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ spec:
description: the errno return code to use. Some actions like
SCMP_ACT_ERRNO and SCMP_ACT_TRACE allow to specify the errno
code to return
type: string
type: integer
names:
description: the names of the syscalls
items:
Expand Down
2 changes: 1 addition & 1 deletion deploy/base-crds/crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ spec:
description: the errno return code to use. Some actions like
SCMP_ACT_ERRNO and SCMP_ACT_TRACE allow to specify the errno
code to return
type: string
type: integer
names:
description: the names of the syscalls
items:
Expand Down
2 changes: 1 addition & 1 deletion deploy/base-crds/crds/seccompprofile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ spec:
description: the errno return code to use. Some actions like
SCMP_ACT_ERRNO and SCMP_ACT_TRACE allow to specify the errno
code to return
type: string
type: integer
names:
description: the names of the syscalls
items:
Expand Down
2 changes: 1 addition & 1 deletion deploy/helm/crds/crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ spec:
description: the errno return code to use. Some actions like
SCMP_ACT_ERRNO and SCMP_ACT_TRACE allow to specify the errno
code to return
type: string
type: integer
names:
description: the names of the syscalls
items:
Expand Down
2 changes: 1 addition & 1 deletion deploy/namespace-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ spec:
description: the errno return code to use. Some actions like
SCMP_ACT_ERRNO and SCMP_ACT_TRACE allow to specify the errno
code to return
type: string
type: integer
names:
description: the names of the syscalls
items:
Expand Down
2 changes: 1 addition & 1 deletion deploy/openshift-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ spec:
description: the errno return code to use. Some actions like
SCMP_ACT_ERRNO and SCMP_ACT_TRACE allow to specify the errno
code to return
type: string
type: integer
names:
description: the names of the syscalls
items:
Expand Down
2 changes: 1 addition & 1 deletion deploy/openshift-downstream.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ spec:
description: the errno return code to use. Some actions like
SCMP_ACT_ERRNO and SCMP_ACT_TRACE allow to specify the errno
code to return
type: string
type: integer
names:
description: the names of the syscalls
items:
Expand Down
2 changes: 1 addition & 1 deletion deploy/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ spec:
description: the errno return code to use. Some actions like
SCMP_ACT_ERRNO and SCMP_ACT_TRACE allow to specify the errno
code to return
type: string
type: integer
names:
description: the names of the syscalls
items:
Expand Down
2 changes: 1 addition & 1 deletion deploy/webhook-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ spec:
description: the errno return code to use. Some actions like
SCMP_ACT_ERRNO and SCMP_ACT_TRACE allow to specify the errno
code to return
type: string
type: integer
names:
description: the names of the syscalls
items:
Expand Down