Skip to content

Chart's rendered output shows containers without security context defaults (root, no seccomp, SA tokens mounted) #7176

Description

@jkondrat

Running a scan against this chart's test and golden output (which reflects the templates' actual rendered defaults) turns up a consistent pattern across the 8.5 through 8.10 chart versions:

Issue Example Why it matters
Default namespace assumed charts/camunda-platform-8.5/test/unit/console/golden/deployment.golden.yaml:3 No namespace isolation for anyone installing with defaults
Images not pinned by digest same Tag mutability risk
Service account tokens auto-mounted same Unnecessary API access surface for components that don't need it
High-entropy strings in the Vault external-secrets integration test charts/camunda-platform-8.10/test/integration/external-secrets/external-secret-integration-test-credentials-vault.yaml:17 Worth checking these are test placeholders and not something that should be templated or redacted

Since these are the chart's own rendered defaults and not just test-only content, anyone installing with helm install and no overrides inherits the same gaps.

Found this with InfraScan (https://github.com/SolDevelo/InfraScan), an open-source cost/security scanner covering Terraform, Kubernetes, Helm, CloudFormation, Ansible, and containers (Apache-2.0). If it's useful, it's a few lines to add as a GitHub Action (https://github.com/marketplace/actions/infrascan-iac-cost-security-scanner). Happy to open a PR wiring it up if you want.

Activity

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

    kind/bugSomething isn't working as intendedlikelihood/highA recurring issueseverity/highMarks a bug as having a noticeable impact on the user with no known workaroundtriage:completed

    Type

    No type

    Fields

    Urgency

    next

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions