-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
432 Support upgrade for existing RGs with Init Container #76
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you
@@ -0,0 +1,6 @@ | |||
# Init container | |||
FROM bitnami/kubectl:1.25.6 AS init |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The ubi-minimal image can be used as a base image, since that will be required for operator certification. In this case, you would need to install the kubectl binary during image creation. See here for reference to the current ubi-minimal image that is being used: https://github.com/dell/csi-powerflex/blob/main/overrides.mk#L6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We got to know about the base image requirement recently. @donatwork is currently working on common dell/kubectl image which we can switch to as needed.
If the init container is going to be around for few releases, I am not sure if it has to be certified. Moreover, rest of the replication images are built with scratch. When we must switch all images to use ubi-minimal as base, I can work on converting all at that time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with Trevor's comments on semantic versioning and ubi-minimal. I didn't find anything additional.
Description
Replication APIs are updated from v1alpha1 to v1 (#75).
Changes in this PR are related to Init Container which migrates the existing RG's apiVersion & CRD's to v1 during upgrade.
For fresh installations, init container will not do anything as no existing RGs will be found.
To follow-up:
GitHub Issues
List the GitHub issues impacted by this PR:
Checklist:
How Has This Been Tested?
cd dell-csi-helm-installer && ./csi-install.sh --namespace isilon --values /home/santhosh/my-samples/csm-replication/isilon-values.yaml --upgrade
./repctl create -f ../deploy/controller.yaml