Skip to content

Commit

Permalink
Merge pull request #195 from omersch381/use_mariadb_all_ctrls_single_…
Browse files Browse the repository at this point in the history
…commit

Use MariaDB account and secret in Designate controllers
  • Loading branch information
openshift-merge-bot[bot] authored Jul 28, 2024
2 parents 9c68aa7 + 08563d1 commit 9002679
Show file tree
Hide file tree
Showing 41 changed files with 661 additions and 486 deletions.
10 changes: 5 additions & 5 deletions api/bases/designate.openstack.org_designateapis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,17 @@ spec:
spec:
description: DesignateAPISpec defines the desired state of DesignateAPI
properties:
None:
description: BackendType - Defines the backend service/configuration
we are using, i.e. bind9, PowerDNS, BYO, etc.. Helps maintain a
single init container/init.sh to do container setup
type: string
backendMdnsServerProtocol:
description: 'BackendTypeProtocol - Defines the backend protocol to
be used between the designate-worker & designate_mdns to/from the
DNS server. Acceptable values are: "UDP", "TCP" Please Note: this
MUST match what is in the /etc/designate.conf [''service:mdns'']'
type: string
backendType:
description: BackendType - Defines the backend service/configuration
we are using, i.e. bind9, PowerDNS, BYO, etc.. Helps maintain a
single init container/init.sh to do container setup
type: string
backendWorkerServerProtocol:
description: 'BackendTypeProtocol - Defines the backend protocol to
be used between the designate-worker & designate_mdns to/from the
Expand Down
10 changes: 5 additions & 5 deletions api/bases/designate.openstack.org_designatebackendbind9s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,17 @@ spec:
spec:
description: DesignateBackendbind9Spec defines the desired state of DesignateBackendbind9
properties:
None:
description: BackendType - Defines the backend service/configuration
we are using, i.e. bind9, PowerDNS, BYO, etc.. Helps maintain a
single init container/init.sh to do container setup
type: string
backendMdnsServerProtocol:
description: 'BackendTypeProtocol - Defines the backend protocol to
be used between the designate-worker & designate_mdns to/from the
DNS server. Acceptable values are: "UDP", "TCP" Please Note: this
MUST match what is in the /etc/designate.conf [''service:mdns'']'
type: string
backendType:
description: BackendType - Defines the backend service/configuration
we are using, i.e. bind9, PowerDNS, BYO, etc.. Helps maintain a
single init container/init.sh to do container setup
type: string
backendWorkerServerProtocol:
description: 'BackendTypeProtocol - Defines the backend protocol to
be used between the designate-worker & designate_mdns to/from the
Expand Down
10 changes: 5 additions & 5 deletions api/bases/designate.openstack.org_designatecentrals.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,17 @@ spec:
description: DesignateCentralSpec defines the input parameters for the
Designate Central service
properties:
None:
description: BackendType - Defines the backend service/configuration
we are using, i.e. bind9, PowerDNS, BYO, etc.. Helps maintain a
single init container/init.sh to do container setup
type: string
backendMdnsServerProtocol:
description: 'BackendTypeProtocol - Defines the backend protocol to
be used between the designate-worker & designate_mdns to/from the
DNS server. Acceptable values are: "UDP", "TCP" Please Note: this
MUST match what is in the /etc/designate.conf [''service:mdns'']'
type: string
backendType:
description: BackendType - Defines the backend service/configuration
we are using, i.e. bind9, PowerDNS, BYO, etc.. Helps maintain a
single init container/init.sh to do container setup
type: string
backendWorkerServerProtocol:
description: 'BackendTypeProtocol - Defines the backend protocol to
be used between the designate-worker & designate_mdns to/from the
Expand Down
10 changes: 5 additions & 5 deletions api/bases/designate.openstack.org_designatemdnses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,17 @@ spec:
description: DesignateMdnsSpec defines the input parameters for the Designate
Mdns service
properties:
None:
description: BackendType - Defines the backend service/configuration
we are using, i.e. bind9, PowerDNS, BYO, etc.. Helps maintain a
single init container/init.sh to do container setup
type: string
backendMdnsServerProtocol:
description: 'BackendTypeProtocol - Defines the backend protocol to
be used between the designate-worker & designate_mdns to/from the
DNS server. Acceptable values are: "UDP", "TCP" Please Note: this
MUST match what is in the /etc/designate.conf [''service:mdns'']'
type: string
backendType:
description: BackendType - Defines the backend service/configuration
we are using, i.e. bind9, PowerDNS, BYO, etc.. Helps maintain a
single init container/init.sh to do container setup
type: string
backendWorkerServerProtocol:
description: 'BackendTypeProtocol - Defines the backend protocol to
be used between the designate-worker & designate_mdns to/from the
Expand Down
10 changes: 5 additions & 5 deletions api/bases/designate.openstack.org_designateproducers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,17 @@ spec:
spec:
description: DesignateProducerSpec the desired state of DesignateProducer
properties:
None:
description: BackendType - Defines the backend service/configuration
we are using, i.e. bind9, PowerDNS, BYO, etc.. Helps maintain a
single init container/init.sh to do container setup
type: string
backendMdnsServerProtocol:
description: 'BackendTypeProtocol - Defines the backend protocol to
be used between the designate-worker & designate_mdns to/from the
DNS server. Acceptable values are: "UDP", "TCP" Please Note: this
MUST match what is in the /etc/designate.conf [''service:mdns'']'
type: string
backendType:
description: BackendType - Defines the backend service/configuration
we are using, i.e. bind9, PowerDNS, BYO, etc.. Helps maintain a
single init container/init.sh to do container setup
type: string
backendWorkerServerProtocol:
description: 'BackendTypeProtocol - Defines the backend protocol to
be used between the designate-worker & designate_mdns to/from the
Expand Down
73 changes: 37 additions & 36 deletions api/bases/designate.openstack.org_designates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,17 @@ spec:
spec:
description: DesignateAPISpec defines the desired state of DesignateAPI
properties:
None:
description: BackendType - Defines the backend service/configuration
we are using, i.e. bind9, unhbound, PowerDNS, BYO, etc.. Helps maintain
a single init container/init.sh to do container setup
type: string
backendMdnsServerProtocol:
description: 'BackendTypeProtocol - Defines the backend protocol to
be used between the designate-worker & designate_mdns to/from the
DNS server. Acceptable values are: "UDP", "TCP" Please Note: this
MUST match what is in the /etc/designate.conf [''service:mdns'']'
type: string
backendType:
description: BackendType - Defines the backend service/configuration
we are using, i.e. bind9, unhbound, PowerDNS, BYO, etc.. Helps maintain
a single init container/init.sh to do container setup
type: string
backendWorkerServerProtocol:
description: 'BackendTypeProtocol - Defines the backend protocol to
be used between the designate-worker & designate_mdns to/from the
Expand Down Expand Up @@ -91,17 +91,17 @@ spec:
description: DesignateAPI - Spec definition for the API service of
this Designate deployment
properties:
None:
description: BackendType - Defines the backend service/configuration
we are using, i.e. bind9, PowerDNS, BYO, etc.. Helps maintain
a single init container/init.sh to do container setup
type: string
backendMdnsServerProtocol:
description: 'BackendTypeProtocol - Defines the backend protocol
to be used between the designate-worker & designate_mdns to/from
the DNS server. Acceptable values are: "UDP", "TCP" Please Note:
this MUST match what is in the /etc/designate.conf [''service:mdns'']'
type: string
backendType:
description: BackendType - Defines the backend service/configuration
we are using, i.e. bind9, PowerDNS, BYO, etc.. Helps maintain
a single init container/init.sh to do container setup
type: string
backendWorkerServerProtocol:
description: 'BackendTypeProtocol - Defines the backend protocol
to be used between the designate-worker & designate_mdns to/from
Expand Down Expand Up @@ -431,17 +431,17 @@ spec:
description: DesignateBackendbind9 - Spec definition for the Backendbind9
service of this Designate deployment
properties:
None:
description: BackendType - Defines the backend service/configuration
we are using, i.e. bind9, PowerDNS, BYO, etc.. Helps maintain
a single init container/init.sh to do container setup
type: string
backendMdnsServerProtocol:
description: 'BackendTypeProtocol - Defines the backend protocol
to be used between the designate-worker & designate_mdns to/from
the DNS server. Acceptable values are: "UDP", "TCP" Please Note:
this MUST match what is in the /etc/designate.conf [''service:mdns'']'
type: string
backendType:
description: BackendType - Defines the backend service/configuration
we are using, i.e. bind9, PowerDNS, BYO, etc.. Helps maintain
a single init container/init.sh to do container setup
type: string
backendWorkerServerProtocol:
description: 'BackendTypeProtocol - Defines the backend protocol
to be used between the designate-worker & designate_mdns to/from
Expand Down Expand Up @@ -589,17 +589,17 @@ spec:
description: DesignateCentral - Spec definition for the Central service
of this Designate deployment
properties:
None:
description: BackendType - Defines the backend service/configuration
we are using, i.e. bind9, PowerDNS, BYO, etc.. Helps maintain
a single init container/init.sh to do container setup
type: string
backendMdnsServerProtocol:
description: 'BackendTypeProtocol - Defines the backend protocol
to be used between the designate-worker & designate_mdns to/from
the DNS server. Acceptable values are: "UDP", "TCP" Please Note:
this MUST match what is in the /etc/designate.conf [''service:mdns'']'
type: string
backendType:
description: BackendType - Defines the backend service/configuration
we are using, i.e. bind9, PowerDNS, BYO, etc.. Helps maintain
a single init container/init.sh to do container setup
type: string
backendWorkerServerProtocol:
description: 'BackendTypeProtocol - Defines the backend protocol
to be used between the designate-worker & designate_mdns to/from
Expand Down Expand Up @@ -747,17 +747,17 @@ spec:
description: DesignateMdns - Spec definition for the Mdns service
of this Designate deployment
properties:
None:
description: BackendType - Defines the backend service/configuration
we are using, i.e. bind9, PowerDNS, BYO, etc.. Helps maintain
a single init container/init.sh to do container setup
type: string
backendMdnsServerProtocol:
description: 'BackendTypeProtocol - Defines the backend protocol
to be used between the designate-worker & designate_mdns to/from
the DNS server. Acceptable values are: "UDP", "TCP" Please Note:
this MUST match what is in the /etc/designate.conf [''service:mdns'']'
type: string
backendType:
description: BackendType - Defines the backend service/configuration
we are using, i.e. bind9, PowerDNS, BYO, etc.. Helps maintain
a single init container/init.sh to do container setup
type: string
backendWorkerServerProtocol:
description: 'BackendTypeProtocol - Defines the backend protocol
to be used between the designate-worker & designate_mdns to/from
Expand Down Expand Up @@ -905,17 +905,17 @@ spec:
description: DesignateProducer - Spec definition for the Producer
service of this Designate deployment
properties:
None:
description: BackendType - Defines the backend service/configuration
we are using, i.e. bind9, PowerDNS, BYO, etc.. Helps maintain
a single init container/init.sh to do container setup
type: string
backendMdnsServerProtocol:
description: 'BackendTypeProtocol - Defines the backend protocol
to be used between the designate-worker & designate_mdns to/from
the DNS server. Acceptable values are: "UDP", "TCP" Please Note:
this MUST match what is in the /etc/designate.conf [''service:mdns'']'
type: string
backendType:
description: BackendType - Defines the backend service/configuration
we are using, i.e. bind9, PowerDNS, BYO, etc.. Helps maintain
a single init container/init.sh to do container setup
type: string
backendWorkerServerProtocol:
description: 'BackendTypeProtocol - Defines the backend protocol
to be used between the designate-worker & designate_mdns to/from
Expand Down Expand Up @@ -1172,17 +1172,17 @@ spec:
description: DesignateWorker - Spec definition for the Worker service
of this Designate deployment
properties:
None:
description: BackendType - Defines the backend service/configuration
we are using, i.e. bind9, PowerDNS, BYO, etc.. Helps maintain
a single init container/init.sh to do container setup
type: string
backendMdnsServerProtocol:
description: 'BackendTypeProtocol - Defines the backend protocol
to be used between the designate-worker & designate_mdns to/from
the DNS server. Acceptable values are: "UDP", "TCP" Please Note:
this MUST match what is in the /etc/designate.conf [''service:mdns'']'
type: string
backendType:
description: BackendType - Defines the backend service/configuration
we are using, i.e. bind9, PowerDNS, BYO, etc.. Helps maintain
a single init container/init.sh to do container setup
type: string
backendWorkerServerProtocol:
description: 'BackendTypeProtocol - Defines the backend protocol
to be used between the designate-worker & designate_mdns to/from
Expand Down Expand Up @@ -1413,6 +1413,7 @@ spec:
to register in designate
type: string
required:
- databaseInstance
- designateAPI
- designateBackendbind9
- designateCentral
Expand Down Expand Up @@ -1474,7 +1475,7 @@ spec:
type: object
type: array
databaseHostname:
description: Designate Database Hostname
description: DatabaseHostname - Designate Database Hostname
type: string
designateAPIReadyCount:
description: ReadyCount of Designate API instance
Expand Down
10 changes: 5 additions & 5 deletions api/bases/designate.openstack.org_designateworkers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,17 @@ spec:
spec:
description: DesignateWorkerSpec the desired state of DesignateWorker
properties:
None:
description: BackendType - Defines the backend service/configuration
we are using, i.e. bind9, PowerDNS, BYO, etc.. Helps maintain a
single init container/init.sh to do container setup
type: string
backendMdnsServerProtocol:
description: 'BackendTypeProtocol - Defines the backend protocol to
be used between the designate-worker & designate_mdns to/from the
DNS server. Acceptable values are: "UDP", "TCP" Please Note: this
MUST match what is in the /etc/designate.conf [''service:mdns'']'
type: string
backendType:
description: BackendType - Defines the backend service/configuration
we are using, i.e. bind9, PowerDNS, BYO, etc.. Helps maintain a
single init container/init.sh to do container setup
type: string
backendWorkerServerProtocol:
description: 'BackendTypeProtocol - Defines the backend protocol to
be used between the designate-worker & designate_mdns to/from the
Expand Down
2 changes: 1 addition & 1 deletion api/v1beta1/common_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ type DesignateTemplate struct {
// +kubebuilder:validation:Optional
// BackendType - Defines the backend service/configuration we are using, i.e. bind9, PowerDNS, BYO, etc..
// Helps maintain a single init container/init.sh to do container setup
BackendType string `json:"None"`
BackendType string `json:"backendType"`

// +kubebuilder:validation:Optional
// BackendTypeProtocol - Defines the backend protocol to be used between the designate-worker &
Expand Down
Loading

0 comments on commit 9002679

Please sign in to comment.