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

[prometheus-ipmi-exporter] Optionally pull config from a Secret #4536

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

yankcrime
Copy link
Contributor

What this PR does / why we need it

The way this currently works is that it builds a config file from values inlined via Helm, and this may need to include some sensitive information such as usernames and passwords that should be otherwise kept out of a repo in the cases where you're managing all of your cluster configuration via git.

This PR update the Chart to add an option to be able to reference a Secret instead.

Checklist

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

Copy link
Member

@zeritti zeritti left a comment

Choose a reason for hiding this comment

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

Thank you, @yankcrime, for your PR. Please, see my comments below.

charts/prometheus-ipmi-exporter/templates/configmap.yaml Outdated Show resolved Hide resolved
charts/prometheus-ipmi-exporter/templates/deployment.yaml Outdated Show resolved Hide resolved
charts/prometheus-ipmi-exporter/values.yaml Outdated Show resolved Hide resolved
@zeritti
Copy link
Member

zeritti commented Jun 6, 2024

Thank you for your changes, @yankcrime. Please, bump the chart's minor version number in Chart.yaml.

@yankcrime
Copy link
Contributor Author

Done, thanks for the help @zeritti 🫡

@zeritti zeritti merged commit 27388b5 into prometheus-community:main Jun 7, 2024
4 checks passed
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