Skip to content

pulp-web image crashes in k8s when capabilities.drop = ["ALL"] #747

@PyroGun

Description

@PyroGun

Version
quay.io/pulp/pulp-web:stable
Deployed to Kubernetes via Helm

Describe the bug
Adding
spec.containers.securityContext.capabilities.drop: ["ALL"] breaks pulp-web pod with following logs
nginx: [emerg] chown("/var/cache/nginx/client_temp", 101) failed (1: Operation not permitted)

To Reproduce
Steps to reproduce the behavior:
Add spec.containers.securityContext.capabilities.drop: ["ALL"] to pulp-web container
Expected behavior
pulp-web works
Additional context
securityContext param is set through OPA Gatekeeper mutation

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions