Skip to content

fix(influxdb3-ent): apply container securityContext to all StatefulSets#763

Merged
alespour merged 3 commits intoinfluxdata:masterfrom
brophyja:master
Feb 6, 2026
Merged

fix(influxdb3-ent): apply container securityContext to all StatefulSets#763
alespour merged 3 commits intoinfluxdata:masterfrom
brophyja:master

Conversation

@brophyja
Copy link
Contributor

@brophyja brophyja commented Feb 3, 2026

Fixes: #762

  • Rebased/mergable
  • Tests pass (see below)
  • Sign CLA

Summary

Updates InfluxDB 3 Enterprise Helm chart to apply container-level securityContext configuration (e.g. ingester.securityContext: {}) to the StatefulSet template files where it was not implemented, including compactor-statefulset.yaml, ingester-statefulset.yaml, and querier-statefulset.yaml.

Testing

The changes in this pull request were successfully deployed against a Kubernetes cluster using a values.yaml with the following configuration:

...
ingester:
  securityContext:
    allowPrivilegeEscalation: false
    capabilities:
      drop:
        - ALL
...
querier:
  securityContext:
    allowPrivilegeEscalation: false
    capabilities:
      drop:
        - ALL
...
compactor:
  securityContext:
    allowPrivilegeEscalation: false
    capabilities:
      drop:
        - ALL
...

@alespour alespour self-requested a review February 6, 2026 06:45
Copy link
Contributor

@alespour alespour left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this PR.

@alespour alespour merged commit 049461c into influxdata:master Feb 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

InfluxDB 3 Enterprise Helm Chart: The container-level securityContext is not imported into most of the StatefulSet templates

2 participants