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.

Depends-On: openstack-k8s-operators/designate-operator#255
Jira: https://issues.redhat.com/browse/OSPRH-11923
  • Loading branch information
omersch381 committed Dec 19, 2024
1 parent 8cf2a43 commit 7da9ed3
Show file tree
Hide file tree
Showing 14 changed files with 20 additions and 8 deletions.
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 7da9ed3

Please sign in to comment.