Skip to content

[alertmanager] Variable to add extra k8s Objects #5636

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

Conversation

rakesh-von
Copy link
Contributor

@rakesh-von rakesh-von commented May 13, 2025

What this PR does / why we need it

This PR lets users add additional k8s objects to fulfill their custom needs like adding additional service or targetgroupbindings.

Which issue this PR fixes

(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

  • fixes #

Special notes for your reviewer

Checklist

  • DCO signed
  • Chart Version bumped
  • Title of the PR starts with chart name (e.g. [prometheus-couchdb-exporter])

@rakesh-von rakesh-von force-pushed the feature/alertmanager_extraObjects branch from 1a35849 to 029783f Compare May 13, 2025 11:47
@monotek
Copy link
Member

monotek commented May 15, 2025

I'm not a fan of such additions.
Users might come up with weird error reports which are not part of the chart but some totally unrelated problems.
Why not use gitops to add stuff which is not part of the chart?

@rakesh-von
Copy link
Contributor Author

I'm not a fan of such additions. Users might come up with weird error reports which are not part of the chart but some totally unrelated problems. Why not use gitops to add stuff which is not part of the chart?

HI @monotek

We are currently using gitops to add additional stuff but our aim is to not have multiple places from where a deployment can be changed or affected, rather have everything have from 1 source for the ease of maintenance and troubleshooting. Can you please consider this change? i am sure it will be helpful for others as well and people coming with weird error reports would anyhow come as they might not have enough helm experience?

@monotek
Copy link
Member

monotek commented May 15, 2025

I mean error reports about stuff which is added in the additional manifests.
They would not report such things now.

@rakesh-von
Copy link
Contributor Author

I mean error reports about stuff which is added in the additional manifests. They would not report such things now.

ah ok, now i understand what you meant. but this feature is disabled by default and people enabling this would know the consequences of it i guess and i feel this should be fine as it is disabled by default.

@rakesh-von
Copy link
Contributor Author

moreover this feature is available in other public helm repos as well and is widely used. for example https://github.com/VictoriaMetrics/helm-charts/blob/master/charts/victoria-metrics-agent/templates/extra-objects.yaml

@monotek
Copy link
Member

monotek commented May 16, 2025

@naseemkullah thoughts?

@rakesh-von
Copy link
Contributor Author

@naseemkullah and @monotek any updates please?

renovate bot and others added 7 commits May 20, 2025 11:19
…metheus-config-reloader Docker tag to v0.82.2 (prometheus-community#5644)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: helm-charts-renovate-helper[bot] <203471071+helm-charts-renovate-helper[bot]@users.noreply.github.com>
Signed-off-by: rakesh-von <[email protected]>
…eloader Docker tag to v0.82.2 (prometheus-community#5643)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: helm-charts-renovate-helper[bot] <203471071+helm-charts-renovate-helper[bot]@users.noreply.github.com>
Signed-off-by: rakesh-von <[email protected]>
Signed-off-by: rakesh-von <[email protected]>
Signed-off-by: rakesh-von <[email protected]>
Signed-off-by: rakesh-von <[email protected]>
Signed-off-by: rakesh-von <[email protected]>
@rakesh-von rakesh-von force-pushed the feature/alertmanager_extraObjects branch from 401d783 to 231d529 Compare May 20, 2025 10:20
@rakesh-von
Copy link
Contributor Author

Hi @monotek and @naseemkullah - any updates please?

@monotek
Copy link
Member

monotek commented May 27, 2025

Please stop asking the same question again and again.
If @naseemkullah does not approve I will not merge it.

@rakesh-von
Copy link
Contributor Author

HI @naseemkullah did you get some time to review the PR please?

@monotek
Copy link
Member

monotek commented Jun 23, 2025

This gets annoying. Closing and locking conversation...

@monotek monotek closed this Jun 23, 2025
@prometheus-community prometheus-community locked and limited conversation to collaborators Jun 23, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants