You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
when a deployment references a configmap in its envs, and the configmap gets updated, the deploy has no way of getting the updated value until it is restart. But the deployment wont ever get restarted unless someone does it manually or it has another actual change to its own yaml.
Describe the solution you'd like
there needs to be a way to tie a resource to be updated when the envs that it references gets updated.
something like this may work:
first you would need to extend the env genericKeyRef concept to be able to pull things other items in a yaml with a data section. basically allow a user to specify a path, instead of just assuming the path is data . this is the relevant code https://github.com/razee-io/razeedeploy-core/blob/master/lib/FetchEnvs.js#L88
once you have that, you'd probably want a new type, like md5sum or sha256sum, which would convert the fetched data (wether its a single data or an object) into a single string.
once you have that, then you can do what the helm chart is doing by creating a mustacheTemplate that injects the fetched checksum into your deployments template annotations.
Is your feature request related to a problem? Please describe.
when a deployment references a configmap in its envs, and the configmap gets updated, the deploy has no way of getting the updated value until it is restart. But the deployment wont ever get restarted unless someone does it manually or it has another actual change to its own yaml.
Describe the solution you'd like
there needs to be a way to tie a resource to be updated when the envs that it references gets updated.
something like this may work:
Additional context
https://helm.sh/docs/howto/charts_tips_and_tricks/#automatically-roll-deployments
The text was updated successfully, but these errors were encountered: