From b53407d33365f8378e557fdcbbb7d09e6cfb289a Mon Sep 17 00:00:00 2001 From: Omer Schwartz Date: Thu, 24 Oct 2024 16:31:19 +0000 Subject: [PATCH] [Designate] Add Bind9 storageRequest and replica count After DesignateBackendBind9 was changed to a stateful set, Designate requires a persistent volume claim. This patch adds the pvc value to the control plane definition, and requires a replica count minimum of at least 1. --- .../core_v1beta1_openstackcontrolplane.yaml | 3 ++- config/samples/core_v1beta1_openstackcontrolplane_galera.yaml | 3 ++- .../core_v1beta1_openstackcontrolplane_galera_3replicas.yaml | 3 ++- ...v1beta1_openstackcontrolplane_galera_network_isolation.yaml | 3 ++- ...enstackcontrolplane_galera_network_isolation_3replicas.yaml | 3 ++- .../core_v1beta1_openstackcontrolplane_network_isolation.yaml | 3 ++- ...e_v1beta1_openstackcontrolplane_network_isolation_ceph.yaml | 3 ++- ...tackcontrolplane_network_isolation_tls_public_endpoint.yaml | 3 ++- 8 files changed, 16 insertions(+), 8 deletions(-) diff --git a/config/samples/base/openstackcontrolplane/core_v1beta1_openstackcontrolplane.yaml b/config/samples/base/openstackcontrolplane/core_v1beta1_openstackcontrolplane.yaml index d738a67a1..4ef55546b 100644 --- a/config/samples/base/openstackcontrolplane/core_v1beta1_openstackcontrolplane.yaml +++ b/config/samples/base/openstackcontrolplane/core_v1beta1_openstackcontrolplane.yaml @@ -196,4 +196,5 @@ spec: designateMdns: replicas: 0 # backend needs to be configured designateBackendbind9: - replicas: 0 # backend needs to be configured + replicas: 1 # backend needs to be configured + storageRequest: 10G diff --git a/config/samples/core_v1beta1_openstackcontrolplane_galera.yaml b/config/samples/core_v1beta1_openstackcontrolplane_galera.yaml index 2e3084cf9..c2e7d87b9 100644 --- a/config/samples/core_v1beta1_openstackcontrolplane_galera.yaml +++ b/config/samples/core_v1beta1_openstackcontrolplane_galera.yaml @@ -225,6 +225,7 @@ spec: networkAttachments: - designate designateBackendbind9: - replicas: 0 + replicas: 1 + storageRequest: 10G networkAttachments: - designate diff --git a/config/samples/core_v1beta1_openstackcontrolplane_galera_3replicas.yaml b/config/samples/core_v1beta1_openstackcontrolplane_galera_3replicas.yaml index 65b0b69be..d762e953e 100644 --- a/config/samples/core_v1beta1_openstackcontrolplane_galera_3replicas.yaml +++ b/config/samples/core_v1beta1_openstackcontrolplane_galera_3replicas.yaml @@ -210,6 +210,7 @@ spec: networkAttachments: - designate designateBackendbind9: - replicas: 0 + replicas: 1 + storageRequest: 10G networkAttachments: - designate diff --git a/config/samples/core_v1beta1_openstackcontrolplane_galera_network_isolation.yaml b/config/samples/core_v1beta1_openstackcontrolplane_galera_network_isolation.yaml index 99616c0a5..d3e38c0a5 100644 --- a/config/samples/core_v1beta1_openstackcontrolplane_galera_network_isolation.yaml +++ b/config/samples/core_v1beta1_openstackcontrolplane_galera_network_isolation.yaml @@ -412,6 +412,7 @@ spec: networkAttachments: - designate designateBackendbind9: - replicas: 0 + replicas: 1 + storageRequest: 10G networkAttachments: - designate diff --git a/config/samples/core_v1beta1_openstackcontrolplane_galera_network_isolation_3replicas.yaml b/config/samples/core_v1beta1_openstackcontrolplane_galera_network_isolation_3replicas.yaml index f12114fee..cb4f490ae 100644 --- a/config/samples/core_v1beta1_openstackcontrolplane_galera_network_isolation_3replicas.yaml +++ b/config/samples/core_v1beta1_openstackcontrolplane_galera_network_isolation_3replicas.yaml @@ -414,6 +414,7 @@ spec: networkAttachments: - designate designateBackendbind9: - replicas: 0 + replicas: 1 + storageRequest: 10G networkAttachments: - designate diff --git a/config/samples/core_v1beta1_openstackcontrolplane_network_isolation.yaml b/config/samples/core_v1beta1_openstackcontrolplane_network_isolation.yaml index 67a93dcff..ab039db4f 100644 --- a/config/samples/core_v1beta1_openstackcontrolplane_network_isolation.yaml +++ b/config/samples/core_v1beta1_openstackcontrolplane_network_isolation.yaml @@ -408,6 +408,7 @@ spec: networkAttachments: - designate designateBackendbind9: - replicas: 0 + replicas: 1 + storageRequest: 10G networkAttachments: - designate diff --git a/config/samples/core_v1beta1_openstackcontrolplane_network_isolation_ceph.yaml b/config/samples/core_v1beta1_openstackcontrolplane_network_isolation_ceph.yaml index 113207d1c..2458713e1 100644 --- a/config/samples/core_v1beta1_openstackcontrolplane_network_isolation_ceph.yaml +++ b/config/samples/core_v1beta1_openstackcontrolplane_network_isolation_ceph.yaml @@ -444,6 +444,7 @@ spec: networkAttachments: - designate designateBackendbind9: - replicas: 0 + replicas: 1 + storageRequest: 10G networkAttachments: - designate diff --git a/config/samples/core_v1beta1_openstackcontrolplane_network_isolation_tls_public_endpoint.yaml b/config/samples/core_v1beta1_openstackcontrolplane_network_isolation_tls_public_endpoint.yaml index 0fbdd82ff..dea2e6c1f 100644 --- a/config/samples/core_v1beta1_openstackcontrolplane_network_isolation_tls_public_endpoint.yaml +++ b/config/samples/core_v1beta1_openstackcontrolplane_network_isolation_tls_public_endpoint.yaml @@ -411,6 +411,7 @@ spec: networkAttachments: - designate designateBackendbind9: - replicas: 0 + replicas: 1 + storageRequest: 10G networkAttachments: - designate