Skip to content

Operator does not propagate seccompProfile to FE/CN Pods #740

Open

Description

@rumitjain

We are running StarRocks on Kubernetes with Pod Security Admission (restricted) enabled and noticed a gap in seccompProfile handling.

What we observed

  • The StarRocksCluster CRD schema includes seccompProfile under securityContext

  • The field is accepted by the API server

  • However, the generated FE / CN Pods do not contain seccompProfile in:

pod.spec.securityContext

nor container-level securityContext


Kubernetes Pod Security Standards (restricted) require seccompProfile: RuntimeDefault

Without this propagation, StarRocks pods fail admission in secured clusters

This blocks production deployments in EKS / PSA-enabled environments

Is this omission intentional or an implementation gap?

Is seccompProfile officially supported today?

Activity

  1. added
    bug
    on Feb 20, 2026
  2. yandongxiao commented on Mar 5, 2026

    @yandongxiao
    Collaborator

    StarRocksCluster CRD supports sidecars and initContainers, which is why you see the seccompProfile field in the CRD.
    For the FE, BE, and CN Spec sections, the seccompProfile field is currently not supported. Additionally, their field structures are also different from securityContext

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions