From f80df426807cd02c2811e58a204bf0482e9191a9 Mon Sep 17 00:00:00 2001 From: Gor Poghosyan Date: Mon, 29 Apr 2024 15:14:08 -0700 Subject: [PATCH] Update-2024-04-29_22:14:07 --- charts/netris-controller/Chart.yaml | 4 +- charts/netris-controller/README.md | 6 +- .../templates/netris-controller-initdb.yaml | 223 +++++++++--------- charts/netris-controller/values.yaml | 6 +- 4 files changed, 120 insertions(+), 119 deletions(-) diff --git a/charts/netris-controller/Chart.yaml b/charts/netris-controller/Chart.yaml index a582578..88f861d 100644 --- a/charts/netris-controller/Chart.yaml +++ b/charts/netris-controller/Chart.yaml @@ -15,13 +15,13 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 2.3.0-alpha.1 +version: 2.3.0-alpha.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: 4.3.0-alpha.1 +appVersion: 4.3.0-alpha.2 home: https://netris.ai icon: https://www.netris.ai/wp-content/uploads/2021/01/logo-300.png # [todo] Change url to permalink keywords: diff --git a/charts/netris-controller/README.md b/charts/netris-controller/README.md index 99aa6c8..9842c84 100644 --- a/charts/netris-controller/README.md +++ b/charts/netris-controller/README.md @@ -89,7 +89,7 @@ The following table lists the configurable parameters of the netris-controller c | ------------------------------------------------------------------| --------------------------------------------------------------------------------------------------------- | --------------------------------- | | `web-service-backend.replicaCount` | Number of replicas in web-service-backend deployment | `1` | | `web-service-backend.image.repository` | Image repository | `netrisai/controller-web-service-backend` | -| `web-service-backend.image.tag` | Image tag. Overrides the image tag whose default is the chart appVersion | `"4.3.0-002"` | +| `web-service-backend.image.tag` | Image tag. Overrides the image tag whose default is the chart appVersion | `"4.3.0-005"` | | `web-service-backend.image.pullPolicy` | Image pull policy | `IfNotPresent` | | `web-service-backend.imagePullSecrets` | Reference to one or more secrets to be used when pulling images | `[]` | | `web-service-backend.service.type` | Kubernetes service type | `ClusterIP` | @@ -105,7 +105,7 @@ The following table lists the configurable parameters of the netris-controller c | ------------------------------------------------------------------| --------------------------------------------------------------------------------------------------------- | --------------------------------- | | `web-service-frontend.replicaCount` | Number of replicas in web-service-frontend deployment | `1` | | `web-service-frontend.image.repository` | Image repository | `netrisai/controller-web-service-frontend` | -| `web-service-frontend.image.tag` | Image tag. Overrides the image tag whose default is the chart appVersion | `"4.3.0-002"` | +| `web-service-frontend.image.tag` | Image tag. Overrides the image tag whose default is the chart appVersion | `"4.3.0-004"` | | `web-service-frontend.image.pullPolicy` | Image pull policy | `IfNotPresent` | | `web-service-frontend.imagePullSecrets` | Reference to one or more secrets to be used when pulling images | `[]` | | `web-service-frontend.service.type` | Kubernetes service type | `ClusterIP` | @@ -122,7 +122,7 @@ The following table lists the configurable parameters of the netris-controller c | -------------------------------------- | --------------------------------------------------------------------------------------------------------- | -------------------------- | | `grpc.replicaCount` | Number of replicas in grpc deployment | `1` | | `grpc.image.repository` | Image repository | `netrisai/controller-grpc` | -| `grpc.image.tag` | Image tag. Overrides the image tag whose default is the chart appVersion | `"4.2.0.001"` | +| `grpc.image.tag` | Image tag. Overrides the image tag whose default is the chart appVersion | `"4.3.0.001"` | | `grpc.image.pullPolicy` | Image pull policy | `IfNotPresent` | | `grpc.imagePullSecrets` | Reference to one or more secrets to be used when pulling images | `[]` | | `grpc.service.type` | Kubernetes service type | `ClusterIP` | diff --git a/charts/netris-controller/templates/netris-controller-initdb.yaml b/charts/netris-controller/templates/netris-controller-initdb.yaml index c6d0777..6366e51 100644 --- a/charts/netris-controller/templates/netris-controller-initdb.yaml +++ b/charts/netris-controller/templates/netris-controller-initdb.yaml @@ -594,13 +594,13 @@ data: NULL AUTO_INCREMENT,\n `name` varchar(255) NOT NULL,\n `description` varchar(255) DEFAULT NULL,\n `ipv4_ssh` text DEFAULT NULL,\n `ipv6_ssh` text DEFAULT NULL,\n \ `timezone` varchar(255) DEFAULT NULL,\n `ntp_servers` text DEFAULT NULL,\n - \ `dns_servers` text DEFAULT NULL,\n `created_date` timestamp /* mariadb-5.3 - */ NULL DEFAULT current_timestamp(),\n `modified_date` timestamp /* mariadb-5.3 - */ NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),\n PRIMARY - KEY (`id`),\n UNIQUE KEY `inv_prof_name_uniq` (`name`)\n) ENGINE=InnoDB DEFAULT - CHARSET=utf8mb4;\n/*!40101 SET character_set_client = @saved_cs_client */;\n\n--\n-- - Table structure for table `ip`\n--\n\nDROP TABLE IF EXISTS `ip`;\n/*!40101 SET - @saved_cs_client = @@character_set_client */;\n/*!40101 SET character_set_client + \ `dns_servers` text DEFAULT NULL,\n `meta` JSON NOT NULL DEFAULT '{}',\n `created_date` + timestamp /* mariadb-5.3 */ NULL DEFAULT current_timestamp(),\n `modified_date` + timestamp /* mariadb-5.3 */ NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),\n + \ PRIMARY KEY (`id`),\n UNIQUE KEY `inv_prof_name_uniq` (`name`)\n) ENGINE=InnoDB + DEFAULT CHARSET=utf8mb4;\n/*!40101 SET character_set_client = @saved_cs_client + */;\n\n--\n-- Table structure for table `ip`\n--\n\nDROP TABLE IF EXISTS `ip`;\n/*!40101 + SET @saved_cs_client = @@character_set_client */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE TABLE `ip` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n \ `parent_id` bigint(20) NOT NULL DEFAULT 0,\n `tenant_id` bigint(20) unsigned NOT NULL,\n `name` varchar(255) DEFAULT NULL,\n `description` text DEFAULT NULL,\n @@ -664,116 +664,117 @@ data: unsigned NOT NULL,\n `consumer_id` bigint(20) unsigned DEFAULT NULL,\n `consumer_type` enum('l4lb','vnet','roh','sys','hw','nat') DEFAULT NULL,\n `meta` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`meta`)),\n PRIMARY - KEY (`id`),\n KEY `pairs_idx` (`host_id`,`consumer_id`) USING BTREE\n) ENGINE=InnoDB - DEFAULT CHARSET=utf8mb4;\n/*!40101 SET character_set_client = @saved_cs_client - */;\n\n--\n-- Table structure for table `ip_subnet`\n--\n\nDROP TABLE IF EXISTS - `ip_subnet`;\n/*!40101 SET @saved_cs_client = @@character_set_client */;\n/*!40101 - SET character_set_client = utf8 */;\nCREATE TABLE `ip_subnet` (\n `id` bigint(20) - unsigned NOT NULL AUTO_INCREMENT,\n `parent_id` bigint(20) NOT NULL DEFAULT 0,\n - \ `allocation_id` bigint(20) unsigned NOT NULL DEFAULT 0,\n `name` varchar(255) - DEFAULT '',\n `description` text DEFAULT NULL,\n `tenant_id` bigint(20) unsigned - NOT NULL,\n `ip_version` enum('ipv4','ipv6') NOT NULL DEFAULT 'ipv4',\n `purpose` - enum('common','load-balancer','loopback','mgmt','nat','bgp','inactive') NOT NULL - DEFAULT 'common',\n `readonly` enum('yes','no') NOT NULL DEFAULT 'no',\n `prefix` - varchar(255) NOT NULL,\n `length` int(10) unsigned NOT NULL,\n `meta` JSON NULL - DEFAULT '{}',\n PRIMARY KEY (`id`),\n KEY `parent_idx` (`parent_id`),\n KEY - `allocation_idx` (`allocation_id`),\n KEY `tenant_idx` (`tenant_id`),\n KEY - `purposex` (`purpose`),\n KEY `ipv_idx` (`ip_version`),\n KEY `prefix_idx` (`prefix`),\n - \ KEY `length_idx` (`length`),\n CONSTRAINT `allocation_id` FOREIGN KEY (`allocation_id`) - REFERENCES `ip_allocation` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB + KEY (`id`),\n KEY `consumer_id_idx` (`consumer_id`),\n KEY `consumer_type_idx` + (`consumer_type`),\n KEY `consumer_id_type_idx` (`consumer_id`, `consumer_type`),\n + \ KEY `pairs_idx` (`host_id`,`consumer_id`) USING BTREE\n) ENGINE=InnoDB DEFAULT + CHARSET=utf8mb4;\n/*!40101 SET character_set_client = @saved_cs_client */;\n\n--\n-- + Table structure for table `ip_subnet`\n--\n\nDROP TABLE IF EXISTS `ip_subnet`;\n/*!40101 + SET @saved_cs_client = @@character_set_client */;\n/*!40101 SET character_set_client + = utf8 */;\nCREATE TABLE `ip_subnet` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n + \ `parent_id` bigint(20) NOT NULL DEFAULT 0,\n `allocation_id` bigint(20) unsigned + NOT NULL DEFAULT 0,\n `name` varchar(255) DEFAULT '',\n `description` text DEFAULT + NULL,\n `tenant_id` bigint(20) unsigned NOT NULL,\n `ip_version` enum('ipv4','ipv6') + NOT NULL DEFAULT 'ipv4',\n `purpose` enum('common','load-balancer','loopback','mgmt','nat','bgp','inactive') + NOT NULL DEFAULT 'common',\n `readonly` enum('yes','no') NOT NULL DEFAULT 'no',\n + \ `prefix` varchar(255) NOT NULL,\n `length` int(10) unsigned NOT NULL,\n `meta` + JSON NULL DEFAULT '{}',\n PRIMARY KEY (`id`),\n KEY `parent_idx` (`parent_id`),\n + \ KEY `allocation_idx` (`allocation_id`),\n KEY `tenant_idx` (`tenant_id`),\n + \ KEY `purposex` (`purpose`),\n KEY `ipv_idx` (`ip_version`),\n KEY `prefix_idx` + (`prefix`),\n KEY `length_idx` (`length`),\n CONSTRAINT `allocation_id` FOREIGN + KEY (`allocation_id`) REFERENCES `ip_allocation` (`id`) ON DELETE CASCADE ON UPDATE + CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 SET character_set_client + = @saved_cs_client */;\n\n--\n-- Table structure for table `ips_to_l4_lb`\n--\n\nDROP + TABLE IF EXISTS `ips_to_l4_lb`;\n/*!40101 SET @saved_cs_client = @@character_set_client + */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE TABLE `ips_to_l4_lb` + (\n `id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,\n `ip_id` BIGINT(20) UNSIGNED + NOT NULL,\n `l4_lb_id` BIGINT(20) UNSIGNED NOT NULL,\n PRIMARY KEY (`id`),\n + \ KEY `l4_load_balancer_ips` (`ip_id`),\n KEY `l4_load_balancer` (`l4_lb_id`),\n + \ CONSTRAINT `l4_load_balancer` FOREIGN KEY (`l4_lb_id`) REFERENCES `l4_load_balancer` + (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `l4_load_balancer_ips` + FOREIGN KEY (`ip_id`) REFERENCES `l4_load_balancer_ips` (`id`) ON DELETE CASCADE + ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 SET character_set_client + = @saved_cs_client */;\n\n--\n-- Table structure for table `k8s_api`\n--\n\nDROP + TABLE IF EXISTS `k8s_api`;\n/*!40101 SET @saved_cs_client = @@character_set_client + */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE TABLE `k8s_api` (\n + \ `id` bigint(22) NOT NULL AUTO_INCREMENT,\n `url` varchar(255) NOT NULL,\n `status` + enum('ok','failed') NOT NULL DEFAULT 'failed',\n `heartbeat` timestamp /* mariadb-5.3 + */ NOT NULL DEFAULT current_timestamp(),\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 SET character_set_client = @saved_cs_client - */;\n\n--\n-- Table structure for table `ips_to_l4_lb`\n--\n\nDROP TABLE IF EXISTS - `ips_to_l4_lb`;\n/*!40101 SET @saved_cs_client = @@character_set_client */;\n/*!40101 - SET character_set_client = utf8 */;\nCREATE TABLE `ips_to_l4_lb` (\n `id` BIGINT(20) - UNSIGNED NOT NULL AUTO_INCREMENT,\n `ip_id` BIGINT(20) UNSIGNED NOT NULL,\n `l4_lb_id` - BIGINT(20) UNSIGNED NOT NULL,\n PRIMARY KEY (`id`),\n KEY `l4_load_balancer_ips` - (`ip_id`),\n KEY `l4_load_balancer` (`l4_lb_id`),\n CONSTRAINT `l4_load_balancer` - FOREIGN KEY (`l4_lb_id`) REFERENCES `l4_load_balancer` (`id`) ON DELETE CASCADE - ON UPDATE CASCADE,\n CONSTRAINT `l4_load_balancer_ips` FOREIGN KEY (`ip_id`) - REFERENCES `l4_load_balancer_ips` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) - ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 SET character_set_client = @saved_cs_client - */;\n\n--\n-- Table structure for table `k8s_api`\n--\n\nDROP TABLE IF EXISTS - `k8s_api`;\n/*!40101 SET @saved_cs_client = @@character_set_client */;\n/*!40101 - SET character_set_client = utf8 */;\nCREATE TABLE `k8s_api` (\n `id` bigint(22) - NOT NULL AUTO_INCREMENT,\n `url` varchar(255) NOT NULL,\n `status` enum('ok','failed') - NOT NULL DEFAULT 'failed',\n `heartbeat` timestamp /* mariadb-5.3 */ NOT NULL - DEFAULT current_timestamp(),\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 - SET character_set_client = @saved_cs_client */;\n\n--\n-- Table structure for - table `k8s_node`\n--\n\nDROP TABLE IF EXISTS `k8s_node`;\n/*!40101 SET @saved_cs_client - \ = @@character_set_client */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE - TABLE `k8s_node` (\n `id` bigint(22) NOT NULL AUTO_INCREMENT,\n `uid` varchar(45) - DEFAULT NULL,\n `name` varchar(45) NOT NULL,\n `ip` varchar(45) NOT NULL,\n - \ `role` varchar(100) DEFAULT NULL,\n `age` varchar(45) DEFAULT NULL,\n `version` - varchar(45) DEFAULT NULL,\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 - SET character_set_client = @saved_cs_client */;\n\n--\n-- Table structure for - table `k8s_node_to_ebgp`\n--\n\nDROP TABLE IF EXISTS `k8s_node_to_ebgp`;\n/*!40101 + */;\n\n--\n-- Table structure for table `k8s_node`\n--\n\nDROP TABLE IF EXISTS + `k8s_node`;\n/*!40101 SET @saved_cs_client = @@character_set_client */;\n/*!40101 + SET character_set_client = utf8 */;\nCREATE TABLE `k8s_node` (\n `id` bigint(22) + NOT NULL AUTO_INCREMENT,\n `uid` varchar(45) DEFAULT NULL,\n `name` varchar(45) + NOT NULL,\n `ip` varchar(45) NOT NULL,\n `role` varchar(100) DEFAULT NULL,\n + \ `age` varchar(45) DEFAULT NULL,\n `version` varchar(45) DEFAULT NULL,\n PRIMARY + KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 SET character_set_client + = @saved_cs_client */;\n\n--\n-- Table structure for table `k8s_node_to_ebgp`\n--\n\nDROP + TABLE IF EXISTS `k8s_node_to_ebgp`;\n/*!40101 SET @saved_cs_client = @@character_set_client + */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE TABLE `k8s_node_to_ebgp` + (\n `id` bigint(22) NOT NULL AUTO_INCREMENT,\n `node_id` bigint(22) NOT NULL,\n + \ `netpeer_id` bigint(22) unsigned NOT NULL,\n `bgp_error_msg` varchar(255) DEFAULT + NULL,\n PRIMARY KEY (`id`),\n KEY `fk_node_idx` (`node_id`),\n CONSTRAINT `fk_node` + FOREIGN KEY (`node_id`) REFERENCES `k8s_node` (`id`) ON DELETE CASCADE ON UPDATE + CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 SET character_set_client + = @saved_cs_client */;\n\n--\n-- Table structure for table `k8s_service`\n--\n\nDROP + TABLE IF EXISTS `k8s_service`;\n/*!40101 SET @saved_cs_client = @@character_set_client + */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE TABLE `k8s_service` + (\n `id` bigint(22) NOT NULL AUTO_INCREMENT,\n `name` varchar(100) NOT NULL,\n + \ `state` enum('enabled','disabled') NOT NULL DEFAULT 'enabled',\n `kubeconfig` + text DEFAULT NULL,\n `cluster_info` text DEFAULT NULL,\n `tenant_id` bigint(22) + NOT NULL,\n `site_id` bigint(22) NOT NULL,\n `circuit_id` bigint(22) unsigned + NOT NULL,\n `created_date` timestamp /* mariadb-5.3 */ NOT NULL DEFAULT current_timestamp(),\n + \ `modified_date` timestamp /* mariadb-5.3 */ NOT NULL DEFAULT current_timestamp() + ON UPDATE current_timestamp(),\n PRIMARY KEY (`id`),\n UNIQUE KEY `name_UNIQUE` + (`name`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 SET character_set_client + = @saved_cs_client */;\n\n--\n-- Table structure for table `k8s_to_api`\n--\n\nDROP + TABLE IF EXISTS `k8s_to_api`;\n/*!40101 SET @saved_cs_client = @@character_set_client + */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE TABLE `k8s_to_api` (\n + \ `id` bigint(22) NOT NULL AUTO_INCREMENT,\n `k8s_service_id` bigint(22) NOT + NULL,\n `k8s_api_id` bigint(22) NOT NULL,\n PRIMARY KEY (`id`),\n KEY `fk_k8_idx` + (`k8s_service_id`),\n KEY `fk_k8api_idx` (`k8s_api_id`),\n CONSTRAINT `fk_k8` + FOREIGN KEY (`k8s_service_id`) REFERENCES `k8s_service` (`id`) ON DELETE CASCADE + ON UPDATE CASCADE,\n CONSTRAINT `fk_k8api` FOREIGN KEY (`k8s_api_id`) REFERENCES + `k8s_api` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT + CHARSET=utf8mb4;\n/*!40101 SET character_set_client = @saved_cs_client */;\n\n--\n-- + Table structure for table `k8s_to_lb4`\n--\n\nDROP TABLE IF EXISTS `k8s_to_lb4`;\n/*!40101 SET @saved_cs_client = @@character_set_client */;\n/*!40101 SET character_set_client - = utf8 */;\nCREATE TABLE `k8s_node_to_ebgp` (\n `id` bigint(22) NOT NULL AUTO_INCREMENT,\n - \ `node_id` bigint(22) NOT NULL,\n `netpeer_id` bigint(22) unsigned NOT NULL,\n - \ `bgp_error_msg` varchar(255) DEFAULT NULL,\n PRIMARY KEY (`id`),\n KEY `fk_node_idx` - (`node_id`),\n CONSTRAINT `fk_node` FOREIGN KEY (`node_id`) REFERENCES `k8s_node` + = utf8 */;\nCREATE TABLE `k8s_to_lb4` (\n `id` bigint(22) NOT NULL AUTO_INCREMENT,\n + \ `k8s_id` bigint(22) NOT NULL,\n `lb4_id` int(11) NOT NULL,\n `uid` varchar(100) + NOT NULL,\n `service_name` varchar(255) DEFAULT NULL,\n `namespace` varchar(255) + NOT NULL,\n `api_error_msg` varchar(255) DEFAULT NULL,\n PRIMARY KEY (`id`),\n + \ UNIQUE KEY `unique_uid` (`uid`),\n KEY `fk_k8_idx` (`k8s_id`),\n KEY `fk_l4lb_idx` + (`lb4_id`),\n CONSTRAINT `fkk_k8` FOREIGN KEY (`k8s_id`) REFERENCES `k8s_service` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 SET character_set_client = @saved_cs_client */;\n\n--\n-- Table structure for - table `k8s_service`\n--\n\nDROP TABLE IF EXISTS `k8s_service`;\n/*!40101 SET @saved_cs_client - \ = @@character_set_client */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE - TABLE `k8s_service` (\n `id` bigint(22) NOT NULL AUTO_INCREMENT,\n `name` varchar(100) - NOT NULL,\n `state` enum('enabled','disabled') NOT NULL DEFAULT 'enabled',\n - \ `kubeconfig` text DEFAULT NULL,\n `cluster_info` text DEFAULT NULL,\n `tenant_id` - bigint(22) NOT NULL,\n `site_id` bigint(22) NOT NULL,\n `circuit_id` bigint(22) - unsigned NOT NULL,\n `created_date` timestamp /* mariadb-5.3 */ NOT NULL DEFAULT - current_timestamp(),\n `modified_date` timestamp /* mariadb-5.3 */ NOT NULL DEFAULT - current_timestamp() ON UPDATE current_timestamp(),\n PRIMARY KEY (`id`),\n UNIQUE - KEY `name_UNIQUE` (`name`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 - SET character_set_client = @saved_cs_client */;\n\n--\n-- Table structure for - table `k8s_to_api`\n--\n\nDROP TABLE IF EXISTS `k8s_to_api`;\n/*!40101 SET @saved_cs_client + table `k8s_to_node`\n--\n\nDROP TABLE IF EXISTS `k8s_to_node`;\n/*!40101 SET @saved_cs_client \ = @@character_set_client */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE - TABLE `k8s_to_api` (\n `id` bigint(22) NOT NULL AUTO_INCREMENT,\n `k8s_service_id` - bigint(22) NOT NULL,\n `k8s_api_id` bigint(22) NOT NULL,\n PRIMARY KEY (`id`),\n - \ KEY `fk_k8_idx` (`k8s_service_id`),\n KEY `fk_k8api_idx` (`k8s_api_id`),\n - \ CONSTRAINT `fk_k8` FOREIGN KEY (`k8s_service_id`) REFERENCES `k8s_service` (`id`) - ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `fk_k8api` FOREIGN KEY (`k8s_api_id`) - REFERENCES `k8s_api` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB + TABLE `k8s_to_node` (\n `id` bigint(22) NOT NULL AUTO_INCREMENT,\n `k8s_service_id` + bigint(22) NOT NULL,\n `k8s_node_id` bigint(22) NOT NULL,\n PRIMARY KEY (`id`),\n + \ KEY `fk_ks_idx` (`k8s_service_id`),\n KEY `fk_k8node_idx` (`k8s_node_id`),\n + \ CONSTRAINT `fk_k8node` FOREIGN KEY (`k8s_node_id`) REFERENCES `k8s_node` (`id`) + ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `fk_ks` FOREIGN KEY (`k8s_service_id`) + REFERENCES `k8s_service` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 SET character_set_client = @saved_cs_client - */;\n\n--\n-- Table structure for table `k8s_to_lb4`\n--\n\nDROP TABLE IF EXISTS - `k8s_to_lb4`;\n/*!40101 SET @saved_cs_client = @@character_set_client */;\n/*!40101 - SET character_set_client = utf8 */;\nCREATE TABLE `k8s_to_lb4` (\n `id` bigint(22) - NOT NULL AUTO_INCREMENT,\n `k8s_id` bigint(22) NOT NULL,\n `lb4_id` int(11) - NOT NULL,\n `uid` varchar(100) NOT NULL,\n `service_name` varchar(255) DEFAULT - NULL,\n `namespace` varchar(255) NOT NULL,\n `api_error_msg` varchar(255) DEFAULT - NULL,\n PRIMARY KEY (`id`),\n UNIQUE KEY `unique_uid` (`uid`),\n KEY `fk_k8_idx` - (`k8s_id`),\n KEY `fk_l4lb_idx` (`lb4_id`),\n CONSTRAINT `fkk_k8` FOREIGN KEY - (`k8s_id`) REFERENCES `k8s_service` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) - ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 SET character_set_client = @saved_cs_client - */;\n\n--\n-- Table structure for table `k8s_to_node`\n--\n\nDROP TABLE IF EXISTS - `k8s_to_node`;\n/*!40101 SET @saved_cs_client = @@character_set_client */;\n/*!40101 - SET character_set_client = utf8 */;\nCREATE TABLE `k8s_to_node` (\n `id` bigint(22) - NOT NULL AUTO_INCREMENT,\n `k8s_service_id` bigint(22) NOT NULL,\n `k8s_node_id` - bigint(22) NOT NULL,\n PRIMARY KEY (`id`),\n KEY `fk_ks_idx` (`k8s_service_id`),\n - \ KEY `fk_k8node_idx` (`k8s_node_id`),\n CONSTRAINT `fk_k8node` FOREIGN KEY (`k8s_node_id`) - REFERENCES `k8s_node` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT - `fk_ks` FOREIGN KEY (`k8s_service_id`) REFERENCES `k8s_service` (`id`) ON DELETE - CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 - SET character_set_client = @saved_cs_client */;\n\n--\n-- Table structure for - table `l4_load_balancer`\n--\n\nDROP TABLE IF EXISTS `l4_load_balancer`;\n/*!40101 + */;\n\n--\n-- Table structure for table `l4_load_balancer`\n--\n\nDROP TABLE IF + EXISTS `l4_load_balancer`;\n/*!40101 SET @saved_cs_client = @@character_set_client + */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE TABLE `l4_load_balancer` + (\n `id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,\n `name` varchar(255) + DEFAULT NULL,\n `tenant` BIGINT(20) UNSIGNED NOT NULL,\n `site` BIGINT(20) UNSIGNED + NOT NULL,\n `protocol` enum('TCP','UDP') DEFAULT 'TCP',\n `status` enum('enable','disable') + DEFAULT 'enable',\n `provisioning` enum('yes','no') NOT NULL DEFAULT 'yes',\n + \ `automatic` enum('true','false') DEFAULT 'false',\n `healthcheck` text DEFAULT + NULL,\n `internal` int(10) DEFAULT 0,\n `kubenet_info` text DEFAULT NULL,\n + \ `created_date` timestamp /* mariadb-5.3 */ NOT NULL DEFAULT current_timestamp(),\n + \ `modified_date` timestamp /* mariadb-5.3 */ NOT NULL DEFAULT current_timestamp() + ON UPDATE current_timestamp(),\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT + CHARSET=utf8mb4;\n/*!40101 SET character_set_client = @saved_cs_client */;\n\n--\n-- + Table structure for table `l4_load_balancer_ips`\n--\n\nDROP TABLE IF EXISTS `l4_load_balancer_ips`;\n/*!40101 SET @saved_cs_client = @@character_set_client */;\n/*!40101 SET character_set_client - = utf8 */;\nCREATE TABLE `l4_load_balancer` (\n `id` BIGINT(20) UNSIGNED NOT - NULL AUTO_INCREMENT,\n `name` varchar(255) DEFAULT NULL,\n `tenant` BIGINT(20) - UNSIGNED NOT NULL,\n `site` BIGINT(20) UNSIGNED NOT NULL,\n `protocol` enum('TCP','UDP') - DEFAULT 'TCP',\n `status` enum('enable','disable') DEFAULT 'enable',\n `provisioning` - enum('yes','no') NOT NULL DEFAULT 'yes',\n `automatic` enum('true','false') DEFAULT - 'false',\n `healthcheck` text DEFAULT NULL,\n `internal` int(10) DEFAULT 0,\n - \ `kubenet_info` text DEFAULT NULL,\n `created_date` timestamp /* mariadb-5.3 - */ NOT NULL DEFAULT current_timestamp(),\n `modified_date` timestamp /* mariadb-5.3 - */ NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),\n PRIMARY - KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 SET character_set_client - = @saved_cs_client */;\n\n--\n-- Table structure for table `l4_load_balancer_ips`\n--\n\nDROP - TABLE IF EXISTS `l4_load_balancer_ips`;\n/*!40101 SET @saved_cs_client = @@character_set_client - */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE TABLE `l4_load_balancer_ips` - (\n `id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,\n `ip` varchar(45) DEFAULT - NULL,\n `port` int(10) NOT NULL,\n `maintenance` enum('true','false') DEFAULT - 'false',\n `status` enum('ok','failed','maintenance','loading','unknown') DEFAULT - 'loading',\n `response` varchar(255) DEFAULT NULL,\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB - DEFAULT CHARSET=utf8mb4;\n/*!40101 SET character_set_client = @saved_cs_client + = utf8 */;\nCREATE TABLE `l4_load_balancer_ips` (\n `id` BIGINT(20) UNSIGNED + NOT NULL AUTO_INCREMENT,\n `ip` varchar(45) DEFAULT NULL,\n `port` int(10) NOT + NULL,\n `maintenance` enum('true','false') DEFAULT 'false',\n `status` enum('ok','failed','maintenance','loading','unknown') + DEFAULT 'loading',\n `response` varchar(255) DEFAULT NULL,\n PRIMARY KEY (`id`)\n) + ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 SET character_set_client = @saved_cs_client */;\n\n--\n-- Table structure for table `lb_check`\n--\n\nDROP TABLE IF EXISTS `lb_check`;\n/*!40101 SET @saved_cs_client = @@character_set_client */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE TABLE `lb_check` (\n `id` bigint(20) @@ -1809,7 +1810,7 @@ data: INSERT INTO `roh_profiles` VALUES (3,'Full table','full_table'); 07-inventory_profiles.sql: | USE {{ .Values.mariadb.auth.database }}; - INSERT INTO `inventory_profiles` VALUES (1,'default-inventory-profile','Default inventory profile','0.0.0.0/0','','{\"offset\":\"-08:00\",\"label\":\"(GMT-08:00) Pacific Time\",\"tzCode\":\"America/Los_Angeles\"}','pool.ntp.org','1.1.1.1,8.8.8.8',NULL,NULL); + INSERT INTO `inventory_profiles` VALUES (1,'default-inventory-profile','Default inventory profile','0.0.0.0/0','','{\"offset\":\"-08:00\",\"label\":\"(GMT-08:00) Pacific Time\",\"tzCode\":\"America/Los_Angeles\"}','pool.ntp.org','1.1.1.1,8.8.8.8','{}',NULL,NULL); 07-subnets.sql: | USE {{ .Values.mariadb.auth.database }}; -- allocations (id, vpc_id, parent_id,allocation_id,name,description,tenant_id,ip_version,purpose,readonly,prefix,length,meta) diff --git a/charts/netris-controller/values.yaml b/charts/netris-controller/values.yaml index d3cd2b9..59556c8 100644 --- a/charts/netris-controller/values.yaml +++ b/charts/netris-controller/values.yaml @@ -83,7 +83,7 @@ web-service-backend: repository: netrisai/controller-web-service-backend pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: "4.3.0-002" + tag: "4.3.0-005" imagePullSecrets: [] @@ -108,7 +108,7 @@ web-service-frontend: repository: netrisai/controller-web-service-frontend pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: "4.3.0-002" + tag: "4.3.0-004" imagePullSecrets: [] @@ -132,7 +132,7 @@ grpc: repository: netrisai/controller-grpc pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: "4.2.0.001" + tag: "4.3.0.001" imagePullSecrets: []