Files
openstack-armada-app/openstack-helm-infra/debian/deb_folder/patches/0021-Add-custom-pod-annotations-to-libvirt.patch
jchialun 579edd9e42 Adapt MariaDB Galera cluster to IPv6
This change updates the IPv6 config override values. It overrides
the bind_address and the gmcast listen_addrs values in IPv6
deployments.

Furthermore, the "mariabackup" method for taking the state snapshot
transfer from one node to another was crashing the multinode
deployment and was change to "rsync".

This also squashed patches 6 and 7 and renamed the following ones to
maintain the sequence number.

Test Plan:
[PASS] Build stx-openstack packages and tarball

IPV6 deployment (AIO-DX):
[PASS] MariaDB pods deployed
[FAIL] stx-openstack applied*

*Application apply will fail due to different issue with ovs-agent
IPv6 deployments. However, at that point MariaDB is already fully
deployed.

** Due to the lack of resources TLS was not tested.

IPV4 deployment (AIO-DX):
[PASS] MariaDB pods deployed
[PASS] stx-openstack applied

Closes-Bug: 2114768
Story: 2011387
Task: 52423

Change-Id: I9ae55f3800049bca0f8fed1392cd2e70ca3a0645
Signed-off-by: Johnny Chia <johnny.chialun@windriver.com>
2025-06-30 10:30:13 -05:00

29 lines
1.3 KiB
Diff

From 1dae7d6e8978c1d22a9846730dc5b966aef7a17a Mon Sep 17 00:00:00 2001
From: Mateus Nascimento <mateus.soaresdonascimento@windriver.com>
Date: Mon, 24 Mar 2025 14:21:33 -0300
Subject: [PATCH] Add custom pod annotations to libvirt
This change allows custom annotations to be added to the libvirt pods
using the static overrides configurations. It follows the recently made
commits of other OpenStack Helm pods.
---
libvirt/templates/daemonset-libvirt.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/libvirt/templates/daemonset-libvirt.yaml b/libvirt/templates/daemonset-libvirt.yaml
index 050aefc0..94d2ff05 100644
--- a/libvirt/templates/daemonset-libvirt.yaml
+++ b/libvirt/templates/daemonset-libvirt.yaml
@@ -65,6 +65,7 @@ spec:
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }}
configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "helm-toolkit.utils.hash" }}
configmap-etc-hash: {{ tuple "configmap-etc.yaml" . | include "helm-toolkit.utils.hash" }}
+{{ tuple "libvirt" . | include "helm-toolkit.snippets.custom_pod_annotations" | indent 8 }}
configchecksum: {{ toYaml .Values.labels.isApplication | sha256sum | trunc 63 }}
spec:
{{ dict "envAll" $envAll "application" "libvirt" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 6 }}
--
2.34.1