From e3046f3d913674219d7410e032b278d7364b20a0 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 | 10 ++++++++++ .../tests/collapsed/01-assert-collapsed-cell.yaml | 10 ++++++++++ .../galera-3replicas/01-assert-galera-3replicas.yaml | 10 ++++++++++ tests/kuttl/tests/galera-basic/01-assert-galera.yaml | 10 ++++++++++ 4 files changed, 40 insertions(+) diff --git a/tests/kuttl/common/assert-sample-deployment.yaml b/tests/kuttl/common/assert-sample-deployment.yaml index 9e1b69611..2e193af53 100644 --- a/tests/kuttl/common/assert-sample-deployment.yaml +++ b/tests/kuttl/common/assert-sample-deployment.yaml @@ -139,12 +139,22 @@ spec: replicas: 1 swiftProxy: replicas: 1 + tls: + endpoint: + internal: + enabled: false + public: + 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..e1e22c63f 100644 --- a/tests/kuttl/tests/collapsed/01-assert-collapsed-cell.yaml +++ b/tests/kuttl/tests/collapsed/01-assert-collapsed-cell.yaml @@ -104,12 +104,22 @@ spec: service: CeilometerPassword secret: osp-secret serviceUser: ceilometer + tls: + endpoint: + internal: + enabled: false + public: + 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..1d0b51309 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,22 @@ spec: service: CeilometerPassword secret: osp-secret serviceUser: ceilometer + tls: + endpoint: + internal: + enabled: false + public: + 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..96650f9ab 100644 --- a/tests/kuttl/tests/galera-basic/01-assert-galera.yaml +++ b/tests/kuttl/tests/galera-basic/01-assert-galera.yaml @@ -133,12 +133,22 @@ spec: replicas: 1 swiftProxy: replicas: 1 + tls: + endpoint: + internal: + enabled: false + public: + 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"