vishesh92 commented on code in PR #9561:
URL: https://github.com/apache/cloudstack/pull/9561#discussion_r1956297505
##########
plugins/integrations/kubernetes-service/src/main/java/com/cloud/kubernetes/version/KubernetesVersionManagerImpl.java:
##########
@@ -160,6 +164,33 @@ private List <KubernetesSupportedVersionVO>
filterKubernetesSupportedVersions(Li
return versions;
}
+ private GetUploadParamsResponse
registerKubernetesVersionIsoForUpload(final Long zoneId, final String
versionName, final String isoChecksum) {
+ CallContext.register(CallContext.current(),
ApiCommandResourceType.Iso);
+ String isoName = String.format("%s-Kubernetes-Binaries-ISO",
versionName);
+ GetUploadParamsForIsoCmd uploadIso = new GetUploadParamsForIsoCmd();
+ uploadIso = ComponentContext.inject(uploadIso);
+ uploadIso.setName(isoName);
+ uploadIso.setPublicIso(true);
+ if (zoneId != null) {
+ uploadIso.setZoneId(zoneId);
Review Comment:
I also need to check if we allow domain admin or a user to add kubernetes
versions.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]