Skip to content

Ensure cert-manager pod is restarted on config changes#186

Merged
simu merged 2 commits intomasterfrom
feat/restart-on-config-change
Oct 10, 2025
Merged

Ensure cert-manager pod is restarted on config changes#186
simu merged 2 commits intomasterfrom
feat/restart-on-config-change

Conversation

@simu
Copy link
Copy Markdown
Member

@simu simu commented Oct 10, 2025

We add a postprocessing filter which hashes the cert-manager config Helm value and sets an annotation with the hash value on the cert-manager pod template.

The annotation is only added if the config isn't empty, since the Helm chart will remove the configmap mount when the config is empty, which triggers a pod restart anyway.

Additionally, we add a test case which sets the config Helm value.

Checklist

  • The PR has a meaningful title. It will be used to auto-generate the
    changelog.
    The PR has a meaningful description that sums up the change. It will be
    linked in the changelog.
  • PR contains a single logical change (to build a better changelog).
  • Update the documentation.
  • Categorize the PR by adding one of the labels:
    bug, enhancement, documentation, change, breaking, dependency
    as they show up in the changelog.

simu added 2 commits October 10, 2025 14:13
Rendered from template version: main (84a7c63)
We add a postprocessing filter which hashes the cert-manager `config`
Helm value and sets an annotation with the hash value on the
cert-manager pod template.

The annotation is only added if the config isn't empty, since the Helm
chart will remove the configmap mount when the config is empty, which
triggers a pod restart anyway.
@simu simu requested a review from a team October 10, 2025 12:15
@simu simu added enhancement New feature or request bump:minor labels Oct 10, 2025
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Oct 10, 2025

🚀 This PR has been released as v4.2.0

Triggering workflows Release

🛠️ Auto tagging enabled with label bump:minor

@simu simu merged commit 10a1c97 into master Oct 10, 2025
12 checks passed
@simu simu deleted the feat/restart-on-config-change branch October 10, 2025 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bump:minor enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants