From 4a3a55feacd19436b742da08387caaa2f6ff155a Mon Sep 17 00:00:00 2001 From: CoreyCook8 <129206271+CoreyCook8@users.noreply.github.com> Date: Mon, 26 Jun 2023 21:52:34 -0400 Subject: [PATCH 1/4] Update seccompprofile_types.go --- api/seccompprofile/v1beta1/seccompprofile_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/seccompprofile/v1beta1/seccompprofile_types.go b/api/seccompprofile/v1beta1/seccompprofile_types.go index bc333bc7d5..4012668282 100644 --- a/api/seccompprofile/v1beta1/seccompprofile_types.go +++ b/api/seccompprofile/v1beta1/seccompprofile_types.go @@ -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"` From 06329962b6b20e4f1bdb9c0cedf3f1394d7d6424 Mon Sep 17 00:00:00 2001 From: CoreyCook8 <129206271+CoreyCook8@users.noreply.github.com> Date: Tue, 27 Jun 2023 09:33:50 -0400 Subject: [PATCH 2/4] Update operator.yaml --- deploy/operator.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/operator.yaml b/deploy/operator.yaml index 5ed35dcdfd..8b8689f056 100644 --- a/deploy/operator.yaml +++ b/deploy/operator.yaml @@ -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: uint names: description: the names of the syscalls items: From f9e50223956eb997e177aef779405d687104a16c Mon Sep 17 00:00:00 2001 From: CoreyCook8 <129206271+CoreyCook8@users.noreply.github.com> Date: Tue, 27 Jun 2023 09:37:15 -0400 Subject: [PATCH 3/4] Update docs --- .../security-profiles-operator.x-k8s.io_seccompprofiles.yaml | 2 +- deploy/base-crds/crd.yaml | 2 +- deploy/base-crds/crds/seccompprofile.yaml | 2 +- deploy/helm/crds/crds.yaml | 2 +- deploy/namespace-operator.yaml | 2 +- deploy/openshift-dev.yaml | 2 +- deploy/openshift-downstream.yaml | 2 +- deploy/webhook-operator.yaml | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/bundle/manifests/security-profiles-operator.x-k8s.io_seccompprofiles.yaml b/bundle/manifests/security-profiles-operator.x-k8s.io_seccompprofiles.yaml index 2d9ab2f23f..1d7f408539 100644 --- a/bundle/manifests/security-profiles-operator.x-k8s.io_seccompprofiles.yaml +++ b/bundle/manifests/security-profiles-operator.x-k8s.io_seccompprofiles.yaml @@ -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: uint names: description: the names of the syscalls items: diff --git a/deploy/base-crds/crd.yaml b/deploy/base-crds/crd.yaml index 50ed4cbb28..8680f80e13 100644 --- a/deploy/base-crds/crd.yaml +++ b/deploy/base-crds/crd.yaml @@ -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: uint names: description: the names of the syscalls items: diff --git a/deploy/base-crds/crds/seccompprofile.yaml b/deploy/base-crds/crds/seccompprofile.yaml index 19b879775c..94c837af30 100644 --- a/deploy/base-crds/crds/seccompprofile.yaml +++ b/deploy/base-crds/crds/seccompprofile.yaml @@ -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: uint names: description: the names of the syscalls items: diff --git a/deploy/helm/crds/crds.yaml b/deploy/helm/crds/crds.yaml index 5d0db11735..8a8bef4ae6 100644 --- a/deploy/helm/crds/crds.yaml +++ b/deploy/helm/crds/crds.yaml @@ -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: uint names: description: the names of the syscalls items: diff --git a/deploy/namespace-operator.yaml b/deploy/namespace-operator.yaml index 5714a91c93..8a7002b927 100644 --- a/deploy/namespace-operator.yaml +++ b/deploy/namespace-operator.yaml @@ -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: uint names: description: the names of the syscalls items: diff --git a/deploy/openshift-dev.yaml b/deploy/openshift-dev.yaml index a53106c158..f11e41dec8 100644 --- a/deploy/openshift-dev.yaml +++ b/deploy/openshift-dev.yaml @@ -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: uint names: description: the names of the syscalls items: diff --git a/deploy/openshift-downstream.yaml b/deploy/openshift-downstream.yaml index a66a25dc4f..c1d4b9d30e 100644 --- a/deploy/openshift-downstream.yaml +++ b/deploy/openshift-downstream.yaml @@ -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: uint names: description: the names of the syscalls items: diff --git a/deploy/webhook-operator.yaml b/deploy/webhook-operator.yaml index e896d525e4..d9624df3c6 100644 --- a/deploy/webhook-operator.yaml +++ b/deploy/webhook-operator.yaml @@ -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: uint names: description: the names of the syscalls items: From f9e441dd943d1d2efa0901365a548bb6f389f560 Mon Sep 17 00:00:00 2001 From: CoreyCook8 <129206271+CoreyCook8@users.noreply.github.com> Date: Mon, 17 Jul 2023 13:58:57 +0000 Subject: [PATCH 4/4] Change uint to integer for seccomp errnoret docs --- .../security-profiles-operator.x-k8s.io_seccompprofiles.yaml | 2 +- deploy/base-crds/crd.yaml | 2 +- deploy/base-crds/crds/seccompprofile.yaml | 2 +- deploy/helm/crds/crds.yaml | 2 +- deploy/namespace-operator.yaml | 2 +- deploy/openshift-dev.yaml | 2 +- deploy/openshift-downstream.yaml | 2 +- deploy/operator.yaml | 2 +- deploy/webhook-operator.yaml | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/bundle/manifests/security-profiles-operator.x-k8s.io_seccompprofiles.yaml b/bundle/manifests/security-profiles-operator.x-k8s.io_seccompprofiles.yaml index 1d7f408539..d9ccaec6d7 100644 --- a/bundle/manifests/security-profiles-operator.x-k8s.io_seccompprofiles.yaml +++ b/bundle/manifests/security-profiles-operator.x-k8s.io_seccompprofiles.yaml @@ -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: uint + type: integer names: description: the names of the syscalls items: diff --git a/deploy/base-crds/crd.yaml b/deploy/base-crds/crd.yaml index 8680f80e13..1985bbf2f9 100644 --- a/deploy/base-crds/crd.yaml +++ b/deploy/base-crds/crd.yaml @@ -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: uint + type: integer names: description: the names of the syscalls items: diff --git a/deploy/base-crds/crds/seccompprofile.yaml b/deploy/base-crds/crds/seccompprofile.yaml index 94c837af30..0188fa2602 100644 --- a/deploy/base-crds/crds/seccompprofile.yaml +++ b/deploy/base-crds/crds/seccompprofile.yaml @@ -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: uint + type: integer names: description: the names of the syscalls items: diff --git a/deploy/helm/crds/crds.yaml b/deploy/helm/crds/crds.yaml index 8a8bef4ae6..58339c58dc 100644 --- a/deploy/helm/crds/crds.yaml +++ b/deploy/helm/crds/crds.yaml @@ -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: uint + type: integer names: description: the names of the syscalls items: diff --git a/deploy/namespace-operator.yaml b/deploy/namespace-operator.yaml index 8a7002b927..91f1e2f5f4 100644 --- a/deploy/namespace-operator.yaml +++ b/deploy/namespace-operator.yaml @@ -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: uint + type: integer names: description: the names of the syscalls items: diff --git a/deploy/openshift-dev.yaml b/deploy/openshift-dev.yaml index f11e41dec8..d9c19a90db 100644 --- a/deploy/openshift-dev.yaml +++ b/deploy/openshift-dev.yaml @@ -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: uint + type: integer names: description: the names of the syscalls items: diff --git a/deploy/openshift-downstream.yaml b/deploy/openshift-downstream.yaml index c1d4b9d30e..1d3ccdfb9e 100644 --- a/deploy/openshift-downstream.yaml +++ b/deploy/openshift-downstream.yaml @@ -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: uint + type: integer names: description: the names of the syscalls items: diff --git a/deploy/operator.yaml b/deploy/operator.yaml index 8b8689f056..af2e429d5c 100644 --- a/deploy/operator.yaml +++ b/deploy/operator.yaml @@ -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: uint + type: integer names: description: the names of the syscalls items: diff --git a/deploy/webhook-operator.yaml b/deploy/webhook-operator.yaml index d9624df3c6..6a1991aa76 100644 --- a/deploy/webhook-operator.yaml +++ b/deploy/webhook-operator.yaml @@ -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: uint + type: integer names: description: the names of the syscalls items: