Skip to content

Commit 52a498d

Browse files
committed
Re-introduce redis
1 parent c06a12f commit 52a498d

30 files changed

+435
-162
lines changed

api/bases/designate.openstack.org_designatecentrals.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,11 @@ spec:
126126
from the Secret
127127
type: string
128128
type: object
129+
redisHostIPs:
130+
description: List of Redis Host IP addresses
131+
items:
132+
type: string
133+
type: array
129134
replicas:
130135
default: 1
131136
description: Replicas - Designate Central Replicas

api/bases/designate.openstack.org_designateproducers.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,11 @@ spec:
125125
from the Secret
126126
type: string
127127
type: object
128+
redisHostIPs:
129+
description: List of Redis Host IP addresses
130+
items:
131+
type: string
132+
type: array
128133
replicas:
129134
default: 1
130135
description: Replicas - Designate Producer Replicas

api/bases/designate.openstack.org_designates.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -713,6 +713,11 @@ spec:
713713
password from the Secret
714714
type: string
715715
type: object
716+
redisHostIPs:
717+
description: List of Redis Host IP addresses
718+
items:
719+
type: string
720+
type: array
716721
replicas:
717722
default: 1
718723
description: Replicas - Designate Central Replicas
@@ -1043,6 +1048,11 @@ spec:
10431048
password from the Secret
10441049
type: string
10451050
type: object
1051+
redisHostIPs:
1052+
description: List of Redis Host IP addresses
1053+
items:
1054+
type: string
1055+
type: array
10461056
replicas:
10471057
default: 1
10481058
description: Replicas - Designate Producer Replicas
@@ -1594,6 +1604,11 @@ spec:
15941604
ContainerImage)
15951605
format: int64
15961606
type: integer
1607+
redisHostIPs:
1608+
description: List of Redis Host IP addresses
1609+
items:
1610+
type: string
1611+
type: array
15971612
transportURLSecret:
15981613
description: TransportURLSecret - Secret containing RabbitMQ transportURL
15991614
type: string

api/v1beta1/designate_types.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,9 @@ type DesignateStatus struct {
227227
// then the controller has not processed the latest changes injected by
228228
// the opentack-operator in the top-level CR (e.g. the ContainerImage)
229229
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
230+
231+
// List of Redis Host IP addresses
232+
RedisHostIPs []string `json:"redisHostIPs,omitempty"`
230233
}
231234

232235
// +kubebuilder:object:root=true

api/v1beta1/designatecentral_types.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ type DesignateCentralSpecBase struct {
6767
// +operator-sdk:csv:customresourcedefinitions:type=spec
6868
// TLS - Parameters related to the TLS
6969
TLS tls.Ca `json:"tls,omitempty"`
70+
71+
// List of Redis Host IP addresses
72+
RedisHostIPs []string `json:"redisHostIPs,omitempty"`
7073
}
7174

7275
// DesignateCentralStatus defines the observed state of DesignateCentral

api/v1beta1/designateproducer_types.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ type DesignateProducerSpecBase struct {
6767
// +operator-sdk:csv:customresourcedefinitions:type=spec
6868
// TLS - Parameters related to the TLS
6969
TLS tls.Ca `json:"tls,omitempty"`
70+
71+
// List of Redis Host IP addresses
72+
RedisHostIPs []string `json:"redisHostIPs,omitempty"`
7073
}
7174

7275
// DesignateProducerStatus defines the observed state of DesignateProducer

api/v1beta1/zz_generated.deepcopy.go

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/bases/designate.openstack.org_designatecentrals.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,11 @@ spec:
126126
from the Secret
127127
type: string
128128
type: object
129+
redisHostIPs:
130+
description: List of Redis Host IP addresses
131+
items:
132+
type: string
133+
type: array
129134
replicas:
130135
default: 1
131136
description: Replicas - Designate Central Replicas

config/crd/bases/designate.openstack.org_designateproducers.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,11 @@ spec:
125125
from the Secret
126126
type: string
127127
type: object
128+
redisHostIPs:
129+
description: List of Redis Host IP addresses
130+
items:
131+
type: string
132+
type: array
128133
replicas:
129134
default: 1
130135
description: Replicas - Designate Producer Replicas

config/crd/bases/designate.openstack.org_designates.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -713,6 +713,11 @@ spec:
713713
password from the Secret
714714
type: string
715715
type: object
716+
redisHostIPs:
717+
description: List of Redis Host IP addresses
718+
items:
719+
type: string
720+
type: array
716721
replicas:
717722
default: 1
718723
description: Replicas - Designate Central Replicas
@@ -1043,6 +1048,11 @@ spec:
10431048
password from the Secret
10441049
type: string
10451050
type: object
1051+
redisHostIPs:
1052+
description: List of Redis Host IP addresses
1053+
items:
1054+
type: string
1055+
type: array
10461056
replicas:
10471057
default: 1
10481058
description: Replicas - Designate Producer Replicas
@@ -1594,6 +1604,11 @@ spec:
15941604
ContainerImage)
15951605
format: int64
15961606
type: integer
1607+
redisHostIPs:
1608+
description: List of Redis Host IP addresses
1609+
items:
1610+
type: string
1611+
type: array
15971612
transportURLSecret:
15981613
description: TransportURLSecret - Secret containing RabbitMQ transportURL
15991614
type: string

0 commit comments

Comments
 (0)