diff --git a/install/override/prometheus.yml b/install/override/prometheus.yml index 04f2ddd2..6f2439be 100644 --- a/install/override/prometheus.yml +++ b/install/override/prometheus.yml @@ -33,6 +33,6 @@ networks: ipam: driver: default config: - - subnet: 192.168.1.0/16 - ip_range: 192.168.5.0/24 - gateway: 192.168.5.254 \ No newline at end of file + - subnet: 172.23.0.0/16 + ip_range: 172.23.5.0/24 + gateway: 172.23.5.254 \ No newline at end of file diff --git a/install/templates/prometheus.tmpl b/install/templates/prometheus.tmpl index 88a8748e..54a3ef7f 100644 --- a/install/templates/prometheus.tmpl +++ b/install/templates/prometheus.tmpl @@ -47,9 +47,9 @@ networks: ipam: driver: default config: - - subnet: 192.168.1.0/16 - ip_range: 192.168.5.0/24 - gateway: 192.168.5.254 + - subnet: 172.23.0.0/16 + ip_range: 172.23.5.0/24 + gateway: 172.23.5.254 net: volumes: prometheus-data: \ No newline at end of file diff --git a/stader-cli/service/migration.go b/stader-cli/service/migration.go index 0aad5b1a..41e22017 100644 --- a/stader-cli/service/migration.go +++ b/stader-cli/service/migration.go @@ -54,6 +54,11 @@ func migrate(c *cli.Context) (runBeforeUpgrades, rundAfterUpgrades []ConfigUpgra return nil, nil, err } + v1410, err := parseVersion("1.4.10") + if err != nil { + return nil, nil, err + } + // Create the collection of upgraders upgraders := []ConfigUpgrader{ { @@ -80,6 +85,11 @@ func migrate(c *cli.Context) (runBeforeUpgrades, rundAfterUpgrades []ConfigUpgra upgradeFunc: func(c *cli.Context) error { return nil }, needInstall: true, }, + { + version: v1410, + upgradeFunc: func(c *cli.Context) error { return nil }, + needInstall: true, + }, } staderClient, err := stader.NewClientFromCtx(c)