kubev2v / forklift-operator

This repository has been archived, development moved to https://github.com/kubev2v/forklift
Apache License 2.0
19 stars 19 forks source link

Change controller k8s module call to non-default merge type #181

Closed fbladilo closed 2 years ago

fbladilo commented 2 years ago

This PR attempts to rectify issues when upgrading controller from previous releases where the default k8s merge type (stragegic_merge) causes an append to the controller deployment resource instead of updating. This has surfaced via #154 , the symptoms are that the controller pod starts 3 containers (controller, main and inventory) instead of 2 causing resource constrains and further failures. I'm only targeting the controller deployment since we need more validation to ensure that it is safe and does not introduce side effects or issues.