Skip to content

Commit f9a994b

Browse files
committed
Update-2025-04-22_00:28:29
1 parent 6303207 commit f9a994b

File tree

4 files changed

+56
-34
lines changed

4 files changed

+56
-34
lines changed

charts/netris-controller/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 2.4.0-alpha.19
18+
version: 2.5.0-alpha.0
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: 4.4.0-alpha.19
24+
appVersion: 4.5.0-alpha.0
2525
home: https://netris.ai
2626
icon: https://www.netris.ai/wp-content/uploads/2021/01/logo-300.png # [todo] Change url to permalink
2727
keywords:

charts/netris-controller/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ The following table lists the configurable parameters of the netris-controller c
8989
| ------------------------------------------------------------------| --------------------------------------------------------------------------------------------------------- | --------------------------------- |
9090
| `web-service-backend.replicaCount` | Number of replicas in web-service-backend deployment | `1` |
9191
| `web-service-backend.image.repository` | Image repository | `netrisai/controller-web-service-backend` |
92-
| `web-service-backend.image.tag` | Image tag. Overrides the image tag whose default is the chart appVersion | `"4.4.0-022"` |
92+
| `web-service-backend.image.tag` | Image tag. Overrides the image tag whose default is the chart appVersion | `"4.5.0-003"` |
9393
| `web-service-backend.image.pullPolicy` | Image pull policy | `IfNotPresent` |
9494
| `web-service-backend.imagePullSecrets` | Reference to one or more secrets to be used when pulling images | `[]` |
9595
| `web-service-backend.service.type` | Kubernetes service type | `ClusterIP` |
@@ -107,7 +107,7 @@ The following table lists the configurable parameters of the netris-controller c
107107
| ------------------------------------------------------------------| --------------------------------------------------------------------------------------------------------- | --------------------------------- |
108108
| `web-service-frontend.replicaCount` | Number of replicas in web-service-frontend deployment | `1` |
109109
| `web-service-frontend.image.repository` | Image repository | `netrisai/controller-web-service-frontend` |
110-
| `web-service-frontend.image.tag` | Image tag. Overrides the image tag whose default is the chart appVersion | `"4.4.0-036"` |
110+
| `web-service-frontend.image.tag` | Image tag. Overrides the image tag whose default is the chart appVersion | `"4.5.0-002"` |
111111
| `web-service-frontend.image.pullPolicy` | Image pull policy | `IfNotPresent` |
112112
| `web-service-frontend.imagePullSecrets` | Reference to one or more secrets to be used when pulling images | `[]` |
113113
| `web-service-frontend.service.type` | Kubernetes service type | `ClusterIP` |
@@ -124,7 +124,7 @@ The following table lists the configurable parameters of the netris-controller c
124124
| -------------------------------------- | --------------------------------------------------------------------------------------------------------- | -------------------------- |
125125
| `grpc.replicaCount` | Number of replicas in grpc deployment | `1` |
126126
| `grpc.image.repository` | Image repository | `netrisai/controller-grpc` |
127-
| `grpc.image.tag` | Image tag. Overrides the image tag whose default is the chart appVersion | `"4.4.0.031"` |
127+
| `grpc.image.tag` | Image tag. Overrides the image tag whose default is the chart appVersion | `"4.5.0.001"` |
128128
| `grpc.image.pullPolicy` | Image pull policy | `IfNotPresent` |
129129
| `grpc.imagePullSecrets` | Reference to one or more secrets to be used when pulling images | `[]` |
130130
| `grpc.service.type` | Kubernetes service type | `ClusterIP` |
@@ -210,7 +210,7 @@ The following table lists the configurable parameters of the netris-controller c
210210
| Parameter | Description | Default |
211211
| ---------------------------------| ----------------------------------------------------------------------------- | ------------------------------------------- |
212212
| `migration.image.repository` | Image repository | `netrisai/controller-web-service-migration` |
213-
| `migration.image.tag` | Image tag. Overrides the image tag whose default is the chart appVersion | `"4.3.0"` |
213+
| `migration.image.tag` | Image tag. Overrides the image tag whose default is the chart appVersion | `"4.5.0"` |
214214
| `migration.image.pullPolicy` | Image pull policy | `IfNotPresent` |
215215
| `migration.imagePullSecrets` | Reference to one or more secrets to be used when pulling images | `[]` |
216216

charts/netris-controller/templates/netris-controller-initdb.yaml

Lines changed: 46 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,22 @@ data:
9393
FOREIGN KEY (`vpc_id`) REFERENCES `vpc` (`id`) \n ON DELETE CASCADE \n ON
9494
UPDATE CASCADE,\n CONSTRAINT `vpc_guest_tenants_tenantid_ibfk_1` FOREIGN KEY
9595
(`tenant_id`) REFERENCES `tenants` (`id`) \n ON DELETE CASCADE \n ON
96-
UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n\n\n--\n-- Table structure
97-
for table `_monitored_ports`\n--\n\nDROP TABLE IF EXISTS `_monitored_ports`;\n/*!40101
96+
UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n\n--\n-- Table structure
97+
for table `vpc_peering`\n--\n\nDROP TABLE IF EXISTS `vpc_peering`;\n/*!40101 SET
98+
@saved_cs_client = @@character_set_client */;\n/*!40101 SET character_set_client
99+
= utf8 */;\nCREATE TABLE `vpc_peering` (\n `id` bigint(20) unsigned NOT NULL
100+
AUTO_INCREMENT,\n `name` varchar(255) NOT NULL,\n `vpc_a_id` bigint(20) unsigned
101+
NOT NULL,\n `vpc_a_pfx_in_ipv4` text DEFAULT NULL,\n `vpc_a_pfx_in_ipv6` text
102+
DEFAULT NULL,\n `vpc_b_id` bigint(20) unsigned NOT NULL,\n `vpc_b_pfx_in_ipv4`
103+
text DEFAULT NULL,\n `vpc_b_pfx_in_ipv6` text DEFAULT NULL,\n `created_date`
104+
timestamp NOT NULL DEFAULT current_timestamp(),\n `modified_date` timestamp NOT
105+
NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),\n PRIMARY KEY
106+
(`id`),\n KEY `vpc_a_id` (`vpc_a_id`),\n KEY `vpc_b_id` (`vpc_b_id`),\n CONSTRAINT
107+
`vpc_peering_ibfk_1` FOREIGN KEY (`vpc_a_id`) REFERENCES `vpc` (`id`) ON DELETE
108+
CASCADE ON UPDATE CASCADE,\n CONSTRAINT `vpc_peering_ibfk_2` FOREIGN KEY (`vpc_b_id`)
109+
REFERENCES `vpc` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT
110+
CHARSET=utf8mb4;\n/*!40101 SET character_set_client = @saved_cs_client */;\n\n--\n--
111+
Table structure for table `_monitored_ports`\n--\n\nDROP TABLE IF EXISTS `_monitored_ports`;\n/*!40101
98112
SET @saved_cs_client = @@character_set_client */;\n/*!40101 SET character_set_client
99113
= utf8 */;\nCREATE TABLE `_monitored_ports` (\n `id` int(11) NOT NULL,\n `port_id`
100114
int(11) DEFAULT NULL,\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101
@@ -1521,27 +1535,35 @@ data:
15211535
timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),\n PRIMARY
15221536
KEY (`id`),\n KEY `srv_cls_tmpl_id_fk` (`template_id`),\n CONSTRAINT `srv_cls_tmpl_id_fk`
15231537
FOREIGN KEY (`template_id`) REFERENCES `srv_cluster_template` (`id`)\n) ENGINE=InnoDB
1524-
DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;\n\n\n\n\n--\n-- Table structure
1525-
for table `mac_address`\n--\n\nDROP TABLE IF EXISTS `mac_address`;\n/*!40101 SET
1526-
@saved_cs_client = @@character_set_client */;\n/*!40101 SET character_set_client
1527-
= utf8 */;\nCREATE TABLE `mac_address` (\n `id` bigint(20) unsigned NOT NULL
1528-
AUTO_INCREMENT,\n `host_id` bigint(20) unsigned NOT NULL,\n `mac` varchar(20)
1529-
NOT NULL,\n `state` enum('active','deleted') NOT NULL DEFAULT 'active',\n `source`
1530-
enum('none','dhcp','arp') NOT NULL DEFAULT 'none',\n `created_date` timestamp
1531-
NOT NULL DEFAULT current_timestamp(),\n `modified_date` timestamp NOT NULL DEFAULT
1532-
current_timestamp() ON UPDATE current_timestamp(),\n PRIMARY KEY (`id`),\n KEY
1533-
`host_id_idx` (`host_id`),\n KEY `mac_address_idx` (`mac`),\n KEY `state_source_idx`
1534-
(`state`,`source`),\n CONSTRAINT `host_id` FOREIGN KEY (`host_id`) REFERENCES
1535-
`ip_host` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT
1536-
CHARSET=utf8mb4;\n/*!40101 SET character_set_client = @saved_cs_client */;\n\n\nLOCK
1537-
TABLES `mac_address` WRITE;\n/*!40000 ALTER TABLE `mac_address` DISABLE KEYS */;\n/*!40000
1538-
ALTER TABLE `mac_address` ENABLE KEYS */;\nUNLOCK TABLES;\n/*!50003 SET @saved_cs_client
1539-
\ = @@character_set_client */ ;\n/*!50003 SET @saved_cs_results = @@character_set_results
1540-
*/ ;\n/*!50003 SET @saved_col_connection = @@collation_connection */ ;\n/*!50003
1541-
SET character_set_client = utf8 */ ;\n/*!50003 SET character_set_results = utf8
1542-
*/ ;\n/*!50003 SET collation_connection = utf8_general_ci */ ;\n/*!50003 SET
1543-
@saved_sql_mode = @@sql_mode */ ;\n/*!50003 SET sql_mode =
1544-
'STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'
1538+
DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;\n\n--\n-- Table structure
1539+
for table `pkey_ledger`\n--\nCREATE TABLE `pkey_ledger` (\n\t`id`bigint(20) unsigned
1540+
NOT NULL AUTO_INCREMENT,\n\t`srv_cls_id` bigint(20) unsigned NOT NULL,\n\t`pkey_id`
1541+
\ varchar(100) NOT NULL,\n\t`ufm_id` varchar(100) NOT NULL,\n\t`server_guids`
1542+
\ JSON DEFAULT '[]',\n\t`custom` JSON DEFAULT '{}',\n\t`created_date` timestamp
1543+
NOT NULL DEFAULT current_timestamp(),\n\t`modified_date` timestamp NOT NULL DEFAULT
1544+
current_timestamp() ON UPDATE current_timestamp(),\n\tPRIMARY KEY (`id`),\n\tKEY
1545+
`pkey_ledger_id_idx` (`pkey_id`),\n\tKEY `pkey_ledger_srvcls_idx` (`srv_cls_id`),\n\t
1546+
UNIQUE KEY `pkey_ledger_pkey_and_srvcls_idx` (`pkey_id`, `srv_cls_id`)\n) ENGINE=InnoDB
1547+
DEFAULT CHARSET=utf8mb4;\n\n--\n-- Table structure for table `mac_address`\n--\n\nDROP
1548+
TABLE IF EXISTS `mac_address`;\n/*!40101 SET @saved_cs_client = @@character_set_client
1549+
*/;\n/*!40101 SET character_set_client = utf8 */;\nCREATE TABLE `mac_address`
1550+
(\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n `host_id` bigint(20)
1551+
unsigned NOT NULL,\n `mac` varchar(20) NOT NULL,\n `state` enum('active','deleted')
1552+
NOT NULL DEFAULT 'active',\n `source` enum('none','dhcp','arp') NOT NULL DEFAULT
1553+
'none',\n `created_date` timestamp NOT NULL DEFAULT current_timestamp(),\n `modified_date`
1554+
timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),\n
1555+
\ PRIMARY KEY (`id`),\n KEY `host_id_idx` (`host_id`),\n KEY `mac_address_idx`
1556+
(`mac`),\n KEY `state_source_idx` (`state`,`source`),\n CONSTRAINT `host_id`
1557+
FOREIGN KEY (`host_id`) REFERENCES `ip_host` (`id`) ON DELETE CASCADE ON UPDATE
1558+
CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 SET character_set_client
1559+
= @saved_cs_client */;\n\n\nLOCK TABLES `mac_address` WRITE;\n/*!40000 ALTER TABLE
1560+
`mac_address` DISABLE KEYS */;\n/*!40000 ALTER TABLE `mac_address` ENABLE KEYS
1561+
*/;\nUNLOCK TABLES;\n/*!50003 SET @saved_cs_client = @@character_set_client
1562+
*/ ;\n/*!50003 SET @saved_cs_results = @@character_set_results */ ;\n/*!50003
1563+
SET @saved_col_connection = @@collation_connection */ ;\n/*!50003 SET character_set_client
1564+
\ = utf8 */ ;\n/*!50003 SET character_set_results = utf8 */ ;\n/*!50003 SET collation_connection
1565+
\ = utf8_general_ci */ ;\n/*!50003 SET @saved_sql_mode = @@sql_mode */ ;\n/*!50003
1566+
SET sql_mode = 'STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'
15451567
*/ ;\nDELIMITER ;;\n/*!50003 CREATE TRIGGER `dhcp-lease-delete` AFTER DELETE ON
15461568
`mac_address` \nFOR EACH ROW BEGIN\n SELECT count(id) INTO @UsedHostCount FROM
15471569
`mac_address` WHERE `host_id` = OLD.host_id;\n IF @UsedHostCount = 0\n THEN\n
@@ -1849,7 +1871,7 @@ data:
18491871
('wireguard_port_range','59000-60999','VPN peers port range','true'),
18501872
('k8s_lb_check_timeout','2000','K8s Layer 4 load-balancer timeout (ms)','true'),
18511873
('vpn_measurement_wait_secs','30','Site Mesh measurement module wait interval (sec)','true'),
1852-
('migration_version', '4.4.0', 'Database scheme version', 'false'),
1874+
('migration_version', '4.5.0', 'Database scheme version', 'false'),
18531875
('system_asn_range', '4200000000 - 4209999999', 'System ASN range', 'true'),
18541876
('vpn_asn_range', '4210000000 - 4219999999', 'Site Mesh VPN ASN range', 'true'),
18551877
('calico_asn_range', '4230000000 - 4239999999', 'Calico ASN range', 'true'),

charts/netris-controller/values.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ web-service-backend:
8383
repository: netrisai/controller-web-service-backend
8484
pullPolicy: IfNotPresent
8585
# Overrides the image tag whose default is the chart appVersion.
86-
tag: "4.4.0-022"
86+
tag: "4.5.0-003"
8787

8888
imagePullSecrets: []
8989

@@ -110,7 +110,7 @@ web-service-frontend:
110110
repository: netrisai/controller-web-service-frontend
111111
pullPolicy: IfNotPresent
112112
# Overrides the image tag whose default is the chart appVersion.
113-
tag: "4.4.0-036"
113+
tag: "4.5.0-002"
114114

115115
imagePullSecrets: []
116116

@@ -134,7 +134,7 @@ grpc:
134134
repository: netrisai/controller-grpc
135135
pullPolicy: IfNotPresent
136136
# Overrides the image tag whose default is the chart appVersion.
137-
tag: "4.4.0.031"
137+
tag: "4.5.0.001"
138138

139139
imagePullSecrets: []
140140

@@ -246,7 +246,7 @@ migration:
246246
image:
247247
repository: netrisai/controller-web-service-migration
248248
pullPolicy: IfNotPresent
249-
tag: "4.3.0"
249+
tag: "4.5.0"
250250

251251

252252
## Using default values from https://github.com/bitnami/charts/tree/master/bitnami/mariadb/values.yaml

0 commit comments

Comments
 (0)