Skip to content

Feat: add user namespaces support for Prometheus#7771

Merged
simonpasquier merged 5 commits intoprometheus-operator:mainfrom
nutmos:feat/enable-user-namespace-prometheus
Aug 5, 2025
Merged

Feat: add user namespaces support for Prometheus#7771
simonpasquier merged 5 commits intoprometheus-operator:mainfrom
nutmos:feat/enable-user-namespace-prometheus

Conversation

@nutmos
Copy link
Contributor

@nutmos nutmos commented Aug 4, 2025

Description

Add the HostUsers field to support user namespace feature in Kubernetes in Prometheus.

https://kubernetes.io/docs/tasks/configure-pod-container/user-namespaces/

Relate #7758

Type of change

What type of changes does your code introduce to the Prometheus operator? Put an x in the box that apply.

  • CHANGE (fix or feature that would cause existing functionality to not work as expected)
  • FEATURE (non-breaking change which adds functionality)
  • BUGFIX (non-breaking change which fixes an issue)
  • ENHANCEMENT (non-breaking change which improves existing functionality)
  • NONE (if none of the other choices apply. Example, tooling, build system, CI, docs, etc.)

Verification

Unit Tests

Changelog entry

- Add the HostUsers field in the Prometheus spec to support the user namespace feature.

@nutmos nutmos marked this pull request as ready for review August 4, 2025 13:12
@nutmos nutmos requested a review from a team as a code owner August 4, 2025 13:12
nutmos and others added 3 commits August 5, 2025 20:31
Copy link
Contributor

@simonpasquier simonpasquier left a comment

Choose a reason for hiding this comment

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

Thanks!

@simonpasquier simonpasquier merged commit 8897634 into prometheus-operator:main Aug 5, 2025
23 checks passed
miinsun pushed a commit to miinsun/prometheus-operator that referenced this pull request Aug 15, 2025
…#7771)

---------

Co-authored-by: Simon Pasquier <spasquie@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants