Improve Deployments migration in `migrations/1.0/standardize-labels.sh` by cognifloyd · Pull Request #412 · StackStorm/stackstorm-k8s
Helm could not apply some of the 1.0.0 changes to deployments because some fields were immutable. So, this adjusts the migration script to orphan the replicasets and delete the deployments. Then when helm upgrade recreates the deployments, they will adopt the orphaned replicasets and gradually recreate both replicasets and pods using the latest spec.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters