Skip to content

fix: make the pod security context configurable #111

Closed

Description

@uniqueg

Description

Since 2026-11-10, the admission controller of CSC Rahti (OpenShift) rejects pods that set seccompProfile: type: RuntimeDefault, at pod or container level; Rahti injects its own profile when none is set. The chart hard-codes this profile in the security context of Pubgrade's and the updater's containers (helm/templates/_helpers.tpl), so it can't be installed on Rahti, and operators can't change it.

The chart stays generic: RuntimeDefault remains the default, which suits plain Kubernetes, and operators can override the security contexts where their cluster needs it.

Expected result

  • podSecurityContext and securityContext values per component, following Helm's conventions, rendered with toYaml; defaults as today (container: no privilege escalation, all capabilities dropped, non-root, RuntimeDefault; pod: none)
  • A chart test that an override (seccompProfile=null, or {}) renders no seccompProfile, and that the defaults render as today
  • Docs with the exact override for OpenShift/Rahti

Activity

  1. self-assigned this
    on Nov 12, 2026
  2. added
    priority: high
    status: in progress
    type: bug
    workload: hours
    on Nov 12, 2026
  3. added this to the v0.3.0 milestone on Nov 17, 2026
  4. removed
    status: in progress
    on Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: hightype: bugworkload: hours

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions