华为云UCS-k8spspallowprivilegeescalationcontainer:符合策略实例的资源定义
时间:2025-02-12 15:05:17
符合策略实例的资源定义
示例中allowPrivilegeEscalation的值为false,符合策略实例。
apiVersion: v1kind: Podmetadata: name: nginx-privilege-escalation-allowed labels: app: nginx-privilege-escalationspec: containers: - name: nginx image: nginx securityContext: allowPrivilegeEscalation: false
support.huaweicloud.com/usermanual-ucs/ucs_01_0230.html