bookingcom / shipper

Kubernetes native multi-cluster canary or blue-green rollouts using Helm
Apache License 2.0
733 stars 39 forks source link

Fixed a flapping test TestReCacheClusterOnSecretUpdate #296

Closed osdrv closed 4 years ago

osdrv commented 4 years ago

This commit alters clusterclientstore.computeSecretChecksum/1 function so it puts all secret Data key-value pairs in a sorted order. The unordered hashmap key nature caused inconsistencies in the hash value and might have caused some frequent cluster cache invalidations.

Signed-off-by: Oleg Sidorov oleg.sidorov@booking.com