Skip to content

Commit

Permalink
[Designate] Add Mdns replica count
Browse files Browse the repository at this point in the history
DesignateMdns deployment type is being changed to stateful set.

This commit adds replica count to Mdns in all the Designate CRs.
  • Loading branch information
omersch381 committed Nov 25, 2024
1 parent a2634fe commit 4890a1f
Show file tree
Hide file tree
Showing 16 changed files with 32 additions and 8 deletions.
6 changes: 6 additions & 0 deletions apis/bases/core.openstack.org_openstackcontrolplanes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1959,6 +1959,12 @@ spec:
default: DesignatePassword
type: string
type: object
replicas:
default: 1
format: int32
maximum: 32
minimum: 0
type: integer
resources:
properties:
claims:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1959,6 +1959,12 @@ spec:
default: DesignatePassword
type: string
type: object
replicas:
default: 1
format: int32
maximum: 32
minimum: 0
type: integer
resources:
properties:
claims:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ spec:
designateProducer:
replicas: 1 # backend needs to be configured
designateMdns:
replicas: 0 # backend needs to be configured
replicas: 1 # backend needs to be configured
designateBackendbind9:
replicas: 1 # backend needs to be configured
storageClass: local-storage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ spec:
designateProducer:
replicas: 1
designateMdns:
replicas: 0
replicas: 1
networkAttachments:
- designate
designateBackendbind9:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ spec:
designateProducer:
replicas: 1
designateMdns:
replicas: 0
replicas: 1
networkAttachments:
- designate
designateBackendbind9:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ spec:
designateProducer:
replicas: 1
designateMdns:
replicas: 0
replicas: 1
networkAttachments:
- designate
designateBackendbind9:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ spec:
designateProducer:
replicas: 1
designateMdns:
replicas: 0
replicas: 1
networkAttachments:
- designate
designateBackendbind9:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ spec:
designateProducer:
replicas: 1
designateMdns:
replicas: 0
replicas: 1
networkAttachments:
- designate
designateBackendbind9:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ spec:
designateProducer:
replicas: 1
designateMdns:
replicas: 0
replicas: 1
networkAttachments:
- designate
designateBackendbind9:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ spec:
designateProducer:
replicas: 1
designateMdns:
replicas: 0
replicas: 1
networkAttachments:
- designate
designateBackendbind9:
Expand Down
2 changes: 2 additions & 0 deletions tests/kuttl/common/assert-sample-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ spec:
replicas: 1
designateCentral:
replicas: 1
designateMdns:
replicas: 1
designateWorker:
replicas: 1
designateProducer:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ spec:
replicas: 1
designateCentral:
replicas: 1
designateMdns:
replicas: 1
designateWorker:
replicas: 1
designateProducer:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@ spec:
replicas: 1
designateCentral:
replicas: 1
designateMdns:
replicas: 1
designateWorker:
replicas: 1
designateProducer:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ spec:
replicas: 1
designateCentral:
replicas: 1
designateMdns:
replicas: 1
designateWorker:
replicas: 1
designateProducer:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ spec:
replicas: 1
designateCentral:
replicas: 1
designateMdns:
replicas: 1
designateWorker:
replicas: 1
designateProducer:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ spec:
replicas: 1
designateCentral:
replicas: 1
designateMdns:
replicas: 1
designateWorker:
replicas: 1
designateProducer:
Expand Down

0 comments on commit 4890a1f

Please sign in to comment.