Skip to content

Conversation

@aki-ks
Copy link
Contributor

@aki-ks aki-ks commented Mar 24, 2025

Some values of this chart only cause an update of the mailu env-var ConfigMap. Since all Mailu Pods get most of their env-vars from that ConfigMap using envFrom, when such values are updated, these Pods keep running with the old configuration, until somebody manually restarts them.

This PR adds checksum annotations to every Deployment/StatefulSet that utilizes the ConfigMap to cause a rolling update when ever the ConfigMap is updated, to ensure that its new values are applied. (see here for detailed pattern explanation)

@aki-ks aki-ks force-pushed the feature/rolling-update-on-env-var-change branch from af21e83 to 1e24c79 Compare March 24, 2025 18:40
@aki-ks
Copy link
Contributor Author

aki-ks commented Mar 24, 2025

Oops, I just realized that a PR containing the exact same changes was already filed as #399 almost a year ago
(except that it is no longer up to date (.Values.commonAnnotations vs e.g. .Values.clamav.podAnnotations).

Why wasn't it merged yet, there was not even any discussion 🤔

@aki-ks
Copy link
Contributor Author

aki-ks commented Apr 6, 2025

The Trivy check complains about flags such as readOnlyRootFilesystem that I did not even touch.
Is there some way to "ignore" the results or is this a known issue that are already working on?

@github-actions
Copy link
Contributor

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions bot added the Stale Issues or pull requests that have not been updated for a while label Sep 28, 2025
@promasu
Copy link
Contributor

promasu commented Oct 17, 2025

@aki-ks Can you please rebase your changes to current master?

@github-actions github-actions bot removed the Stale Issues or pull requests that have not been updated for a while label Oct 18, 2025
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