Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Draft: add sha256sums of configMaps to trigger a restart of the pod, if the configMap changes #264

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kastl-ars
Copy link
Contributor

@kastl-ars kastl-ars commented Mar 10, 2025

First rough draft!

fixes #263

  • refactor annotation section to allow setting annotations for configMaps
  • add annotation for configmap-custom-#.yaml if .Values.opencost.custom#.createConfigmap and .Values.opencost.custom#.enabled are true
  • add annotation for configmap-metrics-config.yaml if .Values.opencost.metrics.config.enabled is true

…ps to trigger a restart of the pod, if the configMap changes

- refactor annotation section to allow setting annotations for configMaps
- add annotation for configmap-custom-#.yaml if .Values.opencost.custom#.createConfigmap and .Values.opencost.custom#.enabled are true
- add annotation for configmap-metrics-config.yaml if .Values.opencost.metrics.config.enabled is true
@kastl-ars kastl-ars force-pushed the 20250310_configMap_triggers_pod_restart branch from 6ea4b66 to 8f4cd0a Compare March 10, 2025 07:49
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add the sha256 checksum of the configMap to the deployment to restart the opencost pod on configMap changes
1 participant