From 2421dd1fc7e437691a11650db977db041f2fc783 Mon Sep 17 00:00:00 2001 From: Jake Hutchinson Date: Wed, 13 Nov 2024 10:51:29 +0000 Subject: [PATCH] Exporter version as variable --- etc/kayobe/ansible/deploy-os-capacity-exporter.yml | 2 +- etc/kayobe/stackhpc-monitoring.yml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/etc/kayobe/ansible/deploy-os-capacity-exporter.yml b/etc/kayobe/ansible/deploy-os-capacity-exporter.yml index 631cccc2e..6f723ccd2 100644 --- a/etc/kayobe/ansible/deploy-os-capacity-exporter.yml +++ b/etc/kayobe/ansible/deploy-os-capacity-exporter.yml @@ -60,7 +60,7 @@ - name: Ensure os_capacity container is running community.docker.docker_container: name: os_capacity - image: ghcr.io/stackhpc/os-capacity:v0.5 + image: ghcr.io/stackhpc/os-capacity:{{ stackhpc_os_capacity_version }} env: OS_CLOUD: openstack OS_CLIENT_CONFIG_FILE: /etc/openstack/clouds.yaml diff --git a/etc/kayobe/stackhpc-monitoring.yml b/etc/kayobe/stackhpc-monitoring.yml index e2377a13e..66354d974 100644 --- a/etc/kayobe/stackhpc-monitoring.yml +++ b/etc/kayobe/stackhpc-monitoring.yml @@ -34,6 +34,9 @@ alertmanager_packet_errors_threshold: 1 # targets being templated during deployment. stackhpc_enable_os_capacity: true +# OpenStack Capacity exporter version +stackhpc_os_capacity_version: v0.5 + # Path to a CA certificate file to trust in the OpenStack Capacity exporter. stackhpc_os_capacity_openstack_cacert: ""