shwstppr commented on a change in pull request #3680: [WIP: DO NOT MERGE] 
CloudStack Kubernetes Service
URL: https://github.com/apache/cloudstack/pull/3680#discussion_r364079060
 
 

 ##########
 File path: engine/schema/src/main/resources/META-INF/db/schema-41300to41400.sql
 ##########
 @@ -34,3 +34,95 @@ UPDATE `cloud`.`guest_os` SET `category_id`='4' WHERE 
`id`=284 AND display_name=
 UPDATE `cloud`.`guest_os` SET `category_id`='4' WHERE `id`=285 AND 
display_name="Red Hat Enterprise Linux 7.6";
 UPDATE `cloud`.`guest_os` SET `category_id`='4' WHERE `id`=286 AND 
display_name="Red Hat Enterprise Linux 8.0";
 
+-- Kubernetes service
+INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', 
'management-server',
+'cloud.kubernetes.service.enabled', 'false', 'Indicates whether Kubernetes 
Service plugin is enabled or not. Management server restart needed on change', 
'false', NULL, NULL, 0);
+
+CREATE TABLE IF NOT EXISTS `cloud`.`kubernetes_supported_version` (
+    `id` bigint unsigned NOT NULL auto_increment COMMENT 'id',
+    `uuid` varchar(40) DEFAULT NULL COMMENT 'uuid',
+    `name` varchar(255) NOT NULL COMMENT 'kubernetes version name',
+    `kubernetes_version` varchar(32) NOT NULL COMMENT 'kubernetes semantic 
version',
+    `iso_id` bigint unsigned NOT NULL COMMENT 'kubernetes version binary ISO 
id',
+    `zone_id` bigint unsigned DEFAULT NULL COMMENT 'zone id in which 
kubernetes version is available',
+    `created` datetime NOT NULL COMMENT 'date created',
+    `removed` datetime COMMENT 'date removed if not null',
 
 Review comment:
   Fixed

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to