From 5e86f4b2268aa2a3f3c371f2ce739a5f12786fe1 Mon Sep 17 00:00:00 2001 From: Martin Schuppert Date: Mon, 23 Oct 2023 12:23:53 +0200 Subject: [PATCH] [TLS] update kuttl tests for tls public endpoints --- tests/kuttl/common/assert-sample-deployment.yaml | 9 +++++++++ .../kuttl/tests/collapsed/01-assert-collapsed-cell.yaml | 9 +++++++++ .../galera-3replicas/01-assert-galera-3replicas.yaml | 9 +++++++++ tests/kuttl/tests/galera-basic/01-assert-galera.yaml | 9 +++++++++ 4 files changed, 36 insertions(+) diff --git a/tests/kuttl/common/assert-sample-deployment.yaml b/tests/kuttl/common/assert-sample-deployment.yaml index 9e1b69611..613c0e6d3 100644 --- a/tests/kuttl/common/assert-sample-deployment.yaml +++ b/tests/kuttl/common/assert-sample-deployment.yaml @@ -139,12 +139,21 @@ spec: replicas: 1 swiftProxy: replicas: 1 + tls: + internalEndpoints: + enabled: false + publicEndpoints: + enabled: true status: conditions: - message: Setup complete reason: Ready status: "True" type: Ready + - message: OpenStackControlPlane CAs completed + reason: Ready + status: "True" + type: OpenStackControlPlaneCAReadyCondition - message: OpenStackControlPlane Ceilometer completed reason: Ready status: "True" diff --git a/tests/kuttl/tests/collapsed/01-assert-collapsed-cell.yaml b/tests/kuttl/tests/collapsed/01-assert-collapsed-cell.yaml index 2038be6c9..6961dfdc3 100644 --- a/tests/kuttl/tests/collapsed/01-assert-collapsed-cell.yaml +++ b/tests/kuttl/tests/collapsed/01-assert-collapsed-cell.yaml @@ -104,12 +104,21 @@ spec: service: CeilometerPassword secret: osp-secret serviceUser: ceilometer + tls: + internalEndpoints: + enabled: false + publicEndpoints: + enabled: true status: conditions: - message: Setup complete reason: Ready status: "True" type: Ready + - message: OpenStackControlPlane CAs completed + reason: Ready + status: "True" + type: OpenStackControlPlaneCAReadyCondition - message: OpenStackControlPlane Ceilometer completed reason: Ready status: "True" diff --git a/tests/kuttl/tests/galera-3replicas/01-assert-galera-3replicas.yaml b/tests/kuttl/tests/galera-3replicas/01-assert-galera-3replicas.yaml index 794f381df..a1ec7f217 100644 --- a/tests/kuttl/tests/galera-3replicas/01-assert-galera-3replicas.yaml +++ b/tests/kuttl/tests/galera-3replicas/01-assert-galera-3replicas.yaml @@ -114,12 +114,21 @@ spec: service: CeilometerPassword secret: osp-secret serviceUser: ceilometer + tls: + internalEndpoints: + enabled: false + publicEndpoints: + enabled: true status: conditions: - message: Setup complete reason: Ready status: "True" type: Ready + - message: OpenStackControlPlane CAs completed + reason: Ready + status: "True" + type: OpenStackControlPlaneCAReadyCondition - message: OpenStackControlPlane Ceilometer completed reason: Ready status: "True" diff --git a/tests/kuttl/tests/galera-basic/01-assert-galera.yaml b/tests/kuttl/tests/galera-basic/01-assert-galera.yaml index ccd7a9cc0..0a57ce552 100644 --- a/tests/kuttl/tests/galera-basic/01-assert-galera.yaml +++ b/tests/kuttl/tests/galera-basic/01-assert-galera.yaml @@ -133,12 +133,21 @@ spec: replicas: 1 swiftProxy: replicas: 1 + tls: + internalEndpoints: + enabled: false + publicEndpoints: + enabled: true status: conditions: - message: Setup complete reason: Ready status: "True" type: Ready + - message: OpenStackControlPlane CAs completed + reason: Ready + status: "True" + type: OpenStackControlPlaneCAReadyCondition - message: OpenStackControlPlane Ceilometer completed reason: Ready status: "True"