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

Ignore prometheus-agent-config-if-mimir-enabled #1592

Merged
merged 4 commits into from
May 16, 2024

Conversation

QuentinBisson
Copy link
Contributor

Checklist

This PR stops reconciling prometheus agent configuration files which are now reconciled by giantswarm/observability-operator#10 so we can more easily play with tenancy and mimir. This also removes the vintage complexity :D

I have:

  • Described why this change is being introduced
  • Separated out refactoring/reformatting in a dedicated PR
  • Updated changelog in CHANGELOG.md

@QuentinBisson QuentinBisson self-assigned this Apr 9, 2024
@QuentinBisson QuentinBisson requested a review from a team as a code owner April 9, 2024 12:46
var remoteWriteConfigResource resource.Interface
{
if config.MimirEnabled {
remoteWriteConfigResource = noop.New(noop.Config{Logger: config.Logger})
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Replaces the resources with a noop resource

@QuentinBisson QuentinBisson force-pushed the ignore-prometheus-agent-config-if-mimir-enabled branch 2 times, most recently from 512fa75 to 6d354e0 Compare April 9, 2024 13:52
@QuentinBisson QuentinBisson force-pushed the ignore-prometheus-agent-config-if-mimir-enabled branch from 6d354e0 to 3d35357 Compare April 9, 2024 14:38
@QuentinBisson QuentinBisson merged commit d89275c into master May 16, 2024
2 of 3 checks passed
@QuentinBisson QuentinBisson deleted the ignore-prometheus-agent-config-if-mimir-enabled branch May 16, 2024 12:14
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.

2 participants