From af783c2fcc7d4a0b8ebfcac4e889f928f3ab46a8 Mon Sep 17 00:00:00 2001 From: okozachenko1203 Date: Thu, 8 Aug 2024 11:18:27 +1000 Subject: [PATCH] parse nova metadata in libvirt exporter Change-Id: Ib49968d919bda72caffd09d57a283587ae867fec --- libvirt/Chart.yaml | 2 +- libvirt/templates/daemonset-libvirt.yaml | 2 ++ releasenotes/notes/libvirt.yaml | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/libvirt/Chart.yaml b/libvirt/Chart.yaml index e1e93d2044..029ca49731 100644 --- a/libvirt/Chart.yaml +++ b/libvirt/Chart.yaml @@ -15,7 +15,7 @@ apiVersion: v1 appVersion: v1.0.0 description: OpenStack-Helm libvirt name: libvirt -version: 0.1.31 +version: 0.1.32 home: https://libvirt.org sources: - https://libvirt.org/git/?p=libvirt.git;a=summary diff --git a/libvirt/templates/daemonset-libvirt.yaml b/libvirt/templates/daemonset-libvirt.yaml index 4a0b128abc..f8686d1487 100644 --- a/libvirt/templates/daemonset-libvirt.yaml +++ b/libvirt/templates/daemonset-libvirt.yaml @@ -271,6 +271,8 @@ spec: {{ tuple $envAll "libvirt_exporter" | include "helm-toolkit.snippets.image" | indent 10 }} {{ tuple $envAll $envAll.Values.pod.resources.libvirt_exporter | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }} {{ dict "envAll" $envAll "application" "libvirt" "container" "libvirt_exporter" | include "helm-toolkit.snippets.kubernetes_container_security_context" | indent 10 }} + args: + - "--libvirt.nova" ports: - name: metrics protocol: TCP diff --git a/releasenotes/notes/libvirt.yaml b/releasenotes/notes/libvirt.yaml index 73e3e27172..18c7a70bfd 100644 --- a/releasenotes/notes/libvirt.yaml +++ b/releasenotes/notes/libvirt.yaml @@ -32,4 +32,5 @@ libvirt: - 0.1.29 Update Ceph images to patched 18.2.2 and restore debian-reef repo - 0.1.30 Add 2024.1 overrides - 0.1.31 Use quay.io/airshipit/kubernetes-entrypoint:latest-ubuntu_focal by default + - 0.1.32 Enable a flag to parse Libvirt Nova metadata in libvirt exporter ...