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

[kube-state-metrics] add option to add initContainers and additional sidecars #3861

Merged

Conversation

chrischdi
Copy link
Contributor

What this PR does / why we need it

Adds the option to add additional containers and initContainers to the kube-state-metrics helm chart.

This becomes handy when adding a sidecar to e.g. automatically update the crd configuration file.
Currently it requires patching the chart e.g. as done in: https://github.com/kubernetes-sigs/cluster-api/blob/main/hack/observability/kube-state-metrics/kustomization.yaml (post helm template).

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

@chrischdi chrischdi force-pushed the pr-ksm-init-and-add-containers branch from fa111f3 to 24590a9 Compare October 4, 2023 10:14
@chrischdi chrischdi force-pushed the pr-ksm-init-and-add-containers branch from 24590a9 to 1c8a866 Compare October 4, 2023 10:15
@dotdc dotdc merged commit e8020a5 into prometheus-community:main Oct 4, 2023
4 checks passed
@dotdc
Copy link
Member

dotdc commented Oct 4, 2023

Thank you for your contribution @chrischdi !

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