-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create and Delete a unique gallery name if required
1. 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. 2. ClusterID is added as a tag to the OSC created gallery (eg. clusterID=12345678) 3. 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 4. LATEST_IMAGE_ID and IMAGE_GALLERY_NAME annotations to peer-pods-cm configMap is added and removed by the code 5. Add a readme (podvm-handling.md) with details on the workflow and job manifests Fixes: #KATA-2958 Signed-off-by: Pradipta Banerjee <pradipta.banerjee@gmail.com>
- Loading branch information
Showing
8 changed files
with
371 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.