emberstack/docker-sftp

Add an annotation hook to restart pod after config change

victorgetz opened this issue · 5 comments

Please look at my Pull Request #51 before it gets closed

We used docker-sftp helm chart and recognized that the configuration changes were not automatically applied when we deployed the helm chart.

A good solution would be to add a config checksum like described here https://helm.sh/docs/howto/charts_tips_and_tricks/

@victorgetz - as mentioned on the PR, the application should pick up configuration changes. If this does not happen, we have a bug.
Please post your logs here or join our Slack channel for debugging.

From https://kubernetes.io/docs/concepts/configuration/secret/
Note: A container using a Secret as a subPath volume mount will not receive Secret updates.

         {{- if .Values.configuration }}
           - name: sftp-json
             mountPath: "/app/config/sftp.json"
             subPath: sftp.json
             readOnly: true
         {{- end }}

I will join you in slack 👍

Slack invite link expired

stale commented

Automatically marked as stale due to no recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale commented

Automatically closed stale item.