From d21ed472b4f9541d4fc6e8ce42b1fe454f7dac7c Mon Sep 17 00:00:00 2001 From: Jorge Merlino Date: Fri, 24 May 2024 11:50:21 -0300 Subject: [PATCH] Add relation between manila-ganesha and vault This relation is needed as confirmed by Alex Kavanagh in https://bugs.launchpad.net/charm-manila-ganesha/+bug/2064487/comments/2 --- openstack/pipeline/02configure | 3 +++ overlays/openstack/vault-manila-ganesha.yaml | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 overlays/openstack/vault-manila-ganesha.yaml diff --git a/openstack/pipeline/02configure b/openstack/pipeline/02configure index 8391c787..2ef03928 100644 --- a/openstack/pipeline/02configure +++ b/openstack/pipeline/02configure @@ -338,6 +338,9 @@ do --manila-ganesha-ha*) get_units $1 __NUM_MANILA_GANESHA_UNITS__ 3 MOD_OVERLAYS+=( "openstack/manila-ganesha-ha.yaml" ) + if has_opt --vault || is_ml2_ovn; then + MOD_OVERLAYS+=( "openstack/vault-manila-ganesha.yaml" ) + fi set -- $@ --manila && cache $@ ;; --mysql-ha*) diff --git a/overlays/openstack/vault-manila-ganesha.yaml b/overlays/openstack/vault-manila-ganesha.yaml new file mode 100644 index 00000000..6112348a --- /dev/null +++ b/overlays/openstack/vault-manila-ganesha.yaml @@ -0,0 +1,2 @@ +relations: + - ['manila-ganesha:certificates', 'vault:certificates']