-
Notifications
You must be signed in to change notification settings - Fork 78
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
Prosody is always restart #83
Comments
Hello @wrenix! Sorry for not answering earlier. Thank you for your PR! I'll review it tomorrow and will let you know if it needs any additional edits before merging. |
thanks, i split it up for an easier review (there are some strange and not well readable expression - so the cleanup is here #86 ) |
any update? |
is everything fine with your @spijet ? Or just no time left to speed? |
@wrenix, I'm terribly sorry for the delay — had a lot going on IRL. I have two minor comments about the #84:
As for #86, I'll have to study it a bit more. I see that you've removed a couple of |
I had some time to look at #86. Thank you very much! It really makes the chart much more readable and consistent than it was before. I added some comments to it and hopefully will add more tomorrow, after I look at it again with a fresh head. :) |
lets only talk here about #84 (for #86 in there PR).
|
lets merge it now |
do not forget to increase helm-chart version |
Done! Will file a Release now. |
Hello @wrenix! It seems that this way of force-rebooting Prosody doesn't really work in the end because of two things:
At the moment I'm out of ideas, except for maybe introducing a new flag (something like Maybe you have something else in mind? |
If you change something of th values But yes you are correct, if you change something inside the extra configmaps or secrets, it will not lead to restart. My opinion that is not a buisness of a/this helmchart. |
Prosody is always restart on helm-chart run, even no values or chart-version changes.
the anti-pattern is here:
https://github.com/jitsi-contrib/jitsi-helm/blob/3744d68b90c0786d2b458d5af7357fc85ed562c3/charts/prosody/templates/statefulset.yaml#L24C73-L25C5
Therefore the helm-chart should use an hash from the values (instatt of an timestamp):
https://helm.sh/docs/chart_template_guide/function_list/#cryptographic-and-security-functions
e.g. (or an subpart of Values and multiple hash):
labels:
hash: {{ toYaml .Values | sha256sum }}
The text was updated successfully, but these errors were encountered: