diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 117ef1cd8..9782810cb 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -61,6 +61,13 @@ "updateTypes": ["patch"], "labels": ["renovate/helm-release", "dependency/patch"] }, + { + "matchDatasources": ["docker"], + "allowedVersions": "<2", + "matchPackageNames": [ + "influxdb", + ] + }, // Enable auto-merge { "datasources": ["docker"], diff --git a/cluster/monitoring/influxdb.yaml b/cluster/monitoring/influxdb.yaml index df1da0413..0314dc8d7 100644 --- a/cluster/monitoring/influxdb.yaml +++ b/cluster/monitoring/influxdb.yaml @@ -19,7 +19,7 @@ spec: values: image: repository: "influxdb" - tag: "2.0.4" + tag: "1.8.4" service: type: LoadBalancer externalIPs: @@ -50,6 +50,13 @@ spec: templates: - "*.app env.service.resource.measurement" - "servers.* .host.resource.measurement.field*" + initScripts: + enabled: true + scripts: + init.iql: |+ + CREATE DATABASE "graphite" WITH DURATION 90d REPLICATION 1 NAME "rp_90d" + CREATE DATABASE "opnsense" WITH DURATION 90d REPLICATION 1 NAME "rp_90d" + CREATE DATABASE "home_assistant" WITH DURATION 90d REPLICATION 1 NAME "rp_90d" resources: requests: memory: 2Gi