From 63fb94727a24b716e271ca876a9c33661865257d Mon Sep 17 00:00:00 2001 From: Maxim Sava Date: Mon, 21 Jul 2025 09:37:24 +0300 Subject: [PATCH] Switch uni-delta job to use S3 API from Ceph Glance/RBD is already covered by uni-gamma, so uni-delta jobs could be changed to test glance/S3 instead, using the S3 API provided by ceph. - Updated uni04delta job architecture accordingly. https://issues.redhat.com/browse/OSPRH-11411 --- .../uni04delta/control-plane/service-values.yaml | 14 ++++++-------- examples/dt/uni04delta/kustomization.yaml | 14 ++++++++++++++ 2 files changed, 20 insertions(+), 8 deletions(-) diff --git a/examples/dt/uni04delta/control-plane/service-values.yaml b/examples/dt/uni04delta/control-plane/service-values.yaml index 0a24eac33..0afeef0e2 100644 --- a/examples/dt/uni04delta/control-plane/service-values.yaml +++ b/examples/dt/uni04delta/control-plane/service-values.yaml @@ -70,20 +70,18 @@ data: glance: customServiceConfig: | [DEFAULT] - debug = True - enabled_backends = default_backend:rbd - + debug=True + enabled_backends = default_backend:s3 [glance_store] default_backend = default_backend - [default_backend] - rbd_store_ceph_conf = /etc/ceph/ceph.conf - store_description = "RBD backend" - rbd_store_pool = images - rbd_store_user = openstack + s3_store_create_bucket_on_put = True + s3_store_bucket_url_format = "path" glanceAPIs: default: replicas: 3 + customServiceConfigSecrets: + - s3glance manila: enabled: true diff --git a/examples/dt/uni04delta/kustomization.yaml b/examples/dt/uni04delta/kustomization.yaml index 1b0766f38..9435613c3 100644 --- a/examples/dt/uni04delta/kustomization.yaml +++ b/examples/dt/uni04delta/kustomization.yaml @@ -9,3 +9,17 @@ resources: - control-plane/networking/nncp/values.yaml - control-plane/service-values.yaml - values.yaml + +replacements: + # Glance + - source: + kind: ConfigMap + name: service-values + fieldPath: data.glance.glanceAPIs.default.customServiceConfigSecrets + targets: + - select: + kind: OpenStackControlPlane + fieldPaths: + - spec.glance.template.glanceAPIs.default.customServiceConfigSecrets + options: + create: true