-
Notifications
You must be signed in to change notification settings - Fork 547
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
ci: update install-snapshot script to deploy newer version of snapshotter #4438
Conversation
updating csi snapshotter deployment to pull image and rbac from latest released version. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
/test ci/centos/k8s-e2e-external-storage/1.27 |
scripts/install-snapshot.sh
Outdated
echo "Argument already present and matching." | ||
else | ||
# Add the argument if it's not present | ||
sed -i -E "/^(\s+)args:/a\ \ \ \ \ \ \ \ \ \ \ \ - $ARGUMENT" "${temp_snap_controller}" |
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.
wow, do you really need to add the \
before each space?
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.
not required but works, updated to remove extra \
:D
Install latest version of snapshotter and also take care of create/delete of new CRD's and required flag for volumegroupsnapshot operation Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
remove unused function from the install-snapshot script Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
canary tag is no more used in the snapshotter yaml and latest version are used, instead of searching for tag check for the image name and do sed to replace the required tag only. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
use kubectl_retry helper to avoid intermediate failure and retry again Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
with new release of snapshotter the labels are changed, this commit uses the new labels to list the snapshot controller pod. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
@Mergifyio queue |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at 0a82f17 |
/test ci/centos/k8s-e2e-external-storage/1.29 |
/test ci/centos/k8s-e2e-external-storage/1.27 |
/test ci/centos/mini-e2e-helm/k8s-1.29 |
/test ci/centos/upgrade-tests-cephfs |
/test ci/centos/k8s-e2e-external-storage/1.28 |
/test ci/centos/mini-e2e/k8s-1.29 |
/test ci/centos/mini-e2e-helm/k8s-1.27 |
/test ci/centos/mini-e2e-helm/k8s-1.28 |
/test ci/centos/upgrade-tests-rbd |
/test ci/centos/mini-e2e/k8s-1.28 |
/test ci/centos/mini-e2e/k8s-1.27 |
Updated the
install-snapshot.sh
to support installing of new snapshotter version and also to enable volumegroupsnapshot flag during installation. Usedkubectl_retry
helper to retry if there is any failure.updates #4435