diff --git a/jsonnet/kube-prometheus/components/blackbox-exporter.libsonnet b/jsonnet/kube-prometheus/components/blackbox-exporter.libsonnet index e574c9f2973333f0bf98f6a4c100f3113767ff29..71af4056617ea43c65f8b8dbbb5de6fa128d1efe 100644 --- a/jsonnet/kube-prometheus/components/blackbox-exporter.libsonnet +++ b/jsonnet/kube-prometheus/components/blackbox-exporter.libsonnet @@ -20,7 +20,7 @@ local defaults = { for labelName in std.objectFields(defaults.commonLabels) if !std.setMember(labelName, ['app.kubernetes.io/version']) }, - configmapReloaderImage: 'jimmidyson/configmap-reload:v0.5.0', + configmapReloaderImage: error 'must provide version', port: 9115, internalPort: 19115, diff --git a/jsonnet/kube-prometheus/main.libsonnet b/jsonnet/kube-prometheus/main.libsonnet index 1c13b7b9d0744404ed405ba4a0869f61b6bc6e00..d35ce2151af8142c8b343557579812f126e2ac59 100644 --- a/jsonnet/kube-prometheus/main.libsonnet +++ b/jsonnet/kube-prometheus/main.libsonnet @@ -30,6 +30,7 @@ local platformPatch = import './platforms/platforms.libsonnet'; prometheus: error 'must provide version', prometheusAdapter: error 'must provide version', prometheusOperator: error 'must provide version', + configmapReload: error 'must provide version' } + (import 'versions.json'), images: { alertmanager: 'quay.io/prometheus/alertmanager:v' + $.values.common.versions.alertmanager, @@ -41,6 +42,7 @@ local platformPatch = import './platforms/platforms.libsonnet'; prometheusAdapter: 'directxman12/k8s-prometheus-adapter:v' + $.values.common.versions.prometheusAdapter, prometheusOperator: 'quay.io/prometheus-operator/prometheus-operator:v' + $.values.common.versions.prometheusOperator, prometheusOperatorReloader: 'quay.io/prometheus-operator/prometheus-config-reloader:v' + $.values.common.versions.prometheusOperator, + configmapReload: 'jimmidyson/configmap-reload:v' + $.values.common.versions.configmapReload, }, }, alertmanager: { @@ -54,6 +56,7 @@ local platformPatch = import './platforms/platforms.libsonnet'; namespace: $.values.common.namespace, version: $.values.common.versions.blackboxExporter, image: $.values.common.images.blackboxExporter, + configmapReloaderImage: $.values.common.images.configmapReload, }, grafana: { namespace: $.values.common.namespace, diff --git a/jsonnet/kube-prometheus/versions.json b/jsonnet/kube-prometheus/versions.json index 72f91628302c99661fb6cf3ae128d1032ee4ee4c..892e6053764b8515b451d9ae9f23ab4facceb897 100644 --- a/jsonnet/kube-prometheus/versions.json +++ b/jsonnet/kube-prometheus/versions.json @@ -6,5 +6,6 @@ "nodeExporter": "1.1.2", "prometheus": "2.26.0", "prometheusAdapter": "0.8.4", - "prometheusOperator": "0.47.0" -} + "prometheusOperator": "0.47.0", + "configmapReload": "0.5.0" +} \ No newline at end of file