Migrate to Spinnaker on existing Deployments


I currently have a deployment created via helm (release) in my kubernetes cluster, I would like to switch from deploying from the command line to using Spinnaker going forward.

That said, when trying to use Spinnaker to deploy the same deployment (same name) I get an error

Deploy failed: Warning: kubectl apply should be used on resource created by either kubectl create --save-config or kubectl apply The Deployment "my-application" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"instance":"my-application", "app":"myapplication"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable

Any docs related to migrating existing deployments to Spinnaker?

Thanks in advance