mayadata-io / openebs-upgrade

Operator for OpenEBS
2 stars 5 forks source link

fix(bug): fix upgrade issue after adoption #54

Closed sagarkrsd closed 4 years ago

sagarkrsd commented 4 years ago

This PR fixes the following upgrade issue after adoption:

  1. Immutability error due to selectors and matchLabels.
  2. Immutability error while updating some envs such as OPENEBS_NAMESPACE.
  3. Issue due to container name difference in helm and operator way of installation.

This PR also adds:

  1. Update installer type from openebs-operator to openebs-enterprise-operator for google analytics.
  2. Adds adoption logic for some of the new components such as openebs-iscsiadm configmap.
  3. Adds logic to install CSIDriver based on K8s version.

It also does some refactoring wrt update logic of pod templates, label selector, etc.

Signed-off-by: sagarkrsd sagar.kumar@mayadata.io