This PR adds logic to support adoption of Mayastor components
such as moac deployment, moac service and mayastor daemonset.
Now already running Mayastor components can be identified by
openebs-upgrade and once adopted they can be managed further by
openebs-upgrade i.e., version upgrade, configuration update, etc.
Updated the logic to remove multiple OpenEBS entries if present in the given namespace.
Set default value of DefaultStoragePath if not found via ENVs.
Removed the labelSelector from metac.yaml which used to filter out resources having openebs-upgrade.dao.mayadata.io/managed: "true" label since it can be the case where the OpenEBS first gets installed via openebs-upgrade and then OpenEBS entry is removed and then adoption is done for the same OpenEBS installation.
This PR addresses the following items-
This PR adds logic to support adoption of Mayastor components such as moac deployment, moac service and mayastor daemonset.
Now already running Mayastor components can be identified by openebs-upgrade and once adopted they can be managed further by openebs-upgrade i.e., version upgrade, configuration update, etc.
Updated the logic to remove multiple OpenEBS entries if present in the given namespace.
Set default value of DefaultStoragePath if not found via ENVs.
Removed the labelSelector from metac.yaml which used to filter out resources having
openebs-upgrade.dao.mayadata.io/managed: "true"
label since it can be the case where the OpenEBS first gets installed via openebs-upgrade and then OpenEBS entry is removed and then adoption is done for the same OpenEBS installation.Signed-off-by: sagarkrsd sagar.kumar@mayadata.io