You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to deploy a pod with a custom seccomp profile with a string I get Warning Failed 45m (x8 over 47m) kubelet Error: setup seccomp: from field: load local profile: decoding seccomp profile failed: json: cannot unmarshal string into Go struct field Syscall.syscalls.errnoRet of type uint
What you expected to happen:
I expect the pod to be able to deploy with a custom errnoRet value specified.
The yaml from security-profiles-operator expects a string but requires a uint in the resulting json file.
How to reproduce it (as minimally and precisely as possible):
Create a seccomp profile with an errnoRet value specified.
Try to deploy a container with that seccomp profile in the securityContext
Anything else we need to know?:
I can't see a reason to have the errnoRet be a string value so I think it just needs to be changed to a uint.
Environment:
Cloud provider or hardware configuration:
OS (e.g: cat /etc/os-release):
Kernel (e.g. uname -a):
Others:
The text was updated successfully, but these errors were encountered:
What happened:
When trying to deploy a pod with a custom seccomp profile with a string I get
Warning Failed 45m (x8 over 47m) kubelet Error: setup seccomp: from field: load local profile: decoding seccomp profile failed: json: cannot unmarshal string into Go struct field Syscall.syscalls.errnoRet of type uint
What you expected to happen:
I expect the pod to be able to deploy with a custom errnoRet value specified.
The yaml from security-profiles-operator expects a string but requires a uint in the resulting json file.
How to reproduce it (as minimally and precisely as possible):
Create a seccomp profile with an errnoRet value specified.
Try to deploy a container with that seccomp profile in the securityContext
Anything else we need to know?:
I can't see a reason to have the errnoRet be a string value so I think it just needs to be changed to a uint.
Environment:
cat /etc/os-release
):uname -a
):The text was updated successfully, but these errors were encountered: