华为云UCS-k8spspseccomp:不符合策略实例的资源定义

时间:2025-02-12 15:05:17

不符合策略实例的资源定义

示例中的container.seccomp.security.alpha.kubernetes.io/nginx注解的value没在设定的值列表中,不符合策略定义。

apiVersion: v1kind: Podmetadata:  name: nginx-seccomp-disallowed  annotations:    container.seccomp.security.alpha.kubernetes.io/nginx: unconfined  labels:    app: nginx-seccompspec:  containers:  - name: nginx    image: nginx
support.huaweicloud.com/usermanual-ucs/ucs_01_0218.html