atlassian / smith

Smith is a Kubernetes workflow engine / resource manager
Apache License 2.0
285 stars 24 forks source link

Hash only referenced keys #399

Closed ash2k closed 5 years ago

ash2k commented 5 years ago

When Deployment is processed, a hash of all the referenced ConfigMap/Secret objects is taken and put into as an annotation in PodSpec to force the Pods to be re-created when values change. We can optimize and only take hash of the referenced values instead of the whole objects.

ash2k commented 5 years ago

It already works that way.