Skip to content

Conflict between privileged and allowPrivilegeEscalation #303

Open
@akelge

Description

@akelge

In the manifest we have

kind: Namespace
metadata:
  labels:
    pod-security.kubernetes.io/enforce: privileged

but in the deployment there is

        securityContext:
          allowPrivilegeEscalation: false

This is causing a failure in deploying, at least on rke2 1.28.8, I think that the solution would be to set allowPrivilegeEscalation to true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions