-
Notifications
You must be signed in to change notification settings - Fork 45
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
Pod VM image handling fix #404
Conversation
0bf96ae
to
2627806
Compare
11584a6
to
fe5b4f0
Compare
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.
LGTM
Thanks!
If IMAGE_GALLERY_NAME in azure-podvm-image-cm is empty, then a gallery name will be created with the pattern "PodVMGallery_$clusterid. Note that only the first 8 chars of the clusterid is used. IMAGE_GALLERY_NAME annotation is added to peer-pods-cm configMap if gallery is created by OSC job FIXES: #KATA-2958 Signed-off-by: Pradipta Banerjee <pradipta.banerjee@gmail.com>
1cedd03
to
b884377
Compare
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.
/lgtm @bpradipt ! Just one last nit to fix in the usage string and we're good to go.
PodVM image deletion function has been extended to also support deletion of gallery via a CLI option. This is used by OSC to ensure deletion of the OSC created gallery during podvm image deletion. This ensures if gallery is created as part of kataconfig creation, then the same gallery is deleted as well during kataconfig deletion Fixes: #KATA-2958 Signed-off-by: Pradipta Banerjee <pradipta.banerjee@gmail.com>
az cli doesn't delete image with version ids using the az image delete command. Instead we need to use az sig image-version delete command for sig images. Ref: https://learn.microsoft.com/en-us/cli/azure/sig/image-version?view=azure-cli-latest#az-sig-image-version-delete Fixes: #KATA-2962 Signed-off-by: Pradipta Banerjee <pradipta.banerjee@gmail.com>
Signed-off-by: Pradipta Banerjee <pradipta.banerjee@gmail.com>
This is not used anywhere Signed-off-by: Pradipta Banerjee <pradipta.banerjee@gmail.com>
Signed-off-by: Pradipta Banerjee <pradipta.banerjee@gmail.com>
@bpradipt: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Fixes: #KATA-2958 #KATA-2962