-
Notifications
You must be signed in to change notification settings - Fork 3.8k
fix: make automountServiceAccountToken configurable #6497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: make automountServiceAccountToken configurable #6497
Conversation
@simonpasquier let me know if you want me to update anything else 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally I'd like to see new unit tests in pkg/prometheus/server/statefulset_test.go
and pkg/prometheus/agent/statefulset_test.go
.
If it's too much burden for you, I can add them for you but we'd have to wait a bit.
unit tests added 👍 tried following the same pattern as with other unit tests, hopefully it makes sense |
You'd need to run |
3f2644b
to
91996c2
Compare
Fixes prometheus-operator#6270 Signed-off-by: Stefan Caraiman <[email protected]>
91996c2
to
733d2fe
Compare
done ✅ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Description
Fixes #6270
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
Please check the Prometheus-Operator testing guidelines for recommendations about automated tests.
Changelog entry
Please put a one-line changelog entry below. This will be copied to the changelog file during the release process.