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.
When
Deployment
is processed, a hash of all the referencedConfigMap
/Secret
objects is taken and put into as an annotation inPodSpec
to force thePod
s to be re-created when values change. We can optimize and only take hash of the referenced values instead of the whole objects.