Skip to content
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

feat: Add spec.AdditionalArgs to ThanosRuler #5293

Merged
merged 2 commits into from
Jan 23, 2023

Conversation

xiu
Copy link
Contributor

@xiu xiu commented Jan 20, 2023

Fixes #5260

Description

Adds spec.AdditionalArgs to ThanosRuler

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.)

Changelog entry

Please put a one-line changelog entry below. This will be copied to the changelog file during the release process.

Add `spec.AdditionalArgs` to ThanosRuler

@xiu xiu requested a review from a team as a code owner January 20, 2023 19:23
@xiu xiu changed the title thanosruler: Add spec.additionalArgs thanosruler: Add spec.AdditionalArgs Jan 20, 2023
@xiu
Copy link
Contributor Author

xiu commented Jan 21, 2023

I'm not sure why TestOperatorUpgrade is failing, I've successfully executed it in minikube. Let me know if you have any more insights into it.

edit: Actually found the issue with an argument to ThanosRuler, will fix.

@xiu xiu force-pushed the feat/5260 branch 2 times, most recently from 968355e to a67745c Compare January 21, 2023 17:31
pkg/thanos/statefulset.go Outdated Show resolved Hide resolved
@xiu xiu changed the title thanosruler: Add spec.AdditionalArgs feat: Add spec.AdditionalArgs to ThanosRuler Jan 21, 2023
Copy link
Contributor

@JoaoBraveCoding JoaoBraveCoding left a comment

Choose a reason for hiding this comment

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

Small nit but apart from that LGTM

pkg/thanos/statefulset.go Show resolved Hide resolved
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.

nice!

@simonpasquier simonpasquier merged commit ea8bba8 into prometheus-operator:main Jan 23, 2023
@xiu xiu deleted the feat/5260 branch January 23, 2023 18:13
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.

Add spec.additionalArgs to ThanosRuler CRD
4 participants