Skip to content

Commit 86c1aef

Browse files
committed
Add CloudKitty to the services deployed by Telemetry
1 parent c1cdd8c commit 86c1aef

14 files changed

+1388
-5
lines changed

apis/bases/core.openstack.org_openstackcontrolplanes.yaml

Lines changed: 421 additions & 0 deletions
Large diffs are not rendered by default.

apis/bases/core.openstack.org_openstackversions.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ spec:
8383
additionalProperties:
8484
type: string
8585
type: object
86+
cloudkittyAPIImage:
87+
type: string
88+
cloudkittyProcImage:
89+
type: string
8690
designateAPIImage:
8791
type: string
8892
designateBackendbind9Image:
@@ -307,6 +311,10 @@ spec:
307311
type: string
308312
cinderVolumeImage:
309313
type: string
314+
cloudkittyAPIImage:
315+
type: string
316+
cloudkittyProcImage:
317+
type: string
310318
designateAPIImage:
311319
type: string
312320
designateBackendbind9Image:
@@ -495,6 +503,10 @@ spec:
495503
additionalProperties:
496504
type: string
497505
type: object
506+
cloudkittyAPIImage:
507+
type: string
508+
cloudkittyProcImage:
509+
type: string
498510
designateAPIImage:
499511
type: string
500512
designateBackendbind9Image:

apis/core/v1beta1/openstackcontrolplane_types.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -689,6 +689,11 @@ type TelemetrySection struct {
689689
// AodhAPIOverride, provides the ability to override the generated manifest of several child resources.
690690
AodhAPIOverride Override `json:"aodhApiOverride,omitempty"`
691691

692+
// +kubebuilder:validation:Optional
693+
// +operator-sdk:csv:customresourcedefinitions:type=spec
694+
// CloudKittyAPIOverride, provides the ability to override the generated manifest of several child resources.
695+
CloudKittyAPIOverride Override `json:"cloudKittyApiOverride,omitempty"`
696+
692697
// +kubebuilder:validation:Optional
693698
// +operator-sdk:csv:customresourcedefinitions:type=spec
694699
// PrometheusOverride, provides the ability to override the generated manifest of several child resources.

apis/core/v1beta1/openstackcontrolplane_webhook.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,10 @@ func (r *OpenStackControlPlane) checkDepsEnabled(name string) string {
243243
if !(r.Spec.Rabbitmq.Enabled && r.Spec.Keystone.Enabled) {
244244
reqs = "RabbitMQ, Keystone"
245245
}
246+
case "Telemetry.CloudKitty":
247+
if !(r.Spec.Rabbitmq.Enabled && r.Spec.Keystone.Enabled) {
248+
reqs = "RabbitMQ, Keystone"
249+
}
246250
}
247251

248252
// If "reqs" is not the empty string, we have missing requirements

apis/core/v1beta1/openstackversion_types.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ type ContainerTemplate struct {
9595
CinderAPIImage *string `json:"cinderAPIImage,omitempty"`
9696
CinderBackupImage *string `json:"cinderBackupImage,omitempty"`
9797
CinderSchedulerImage *string `json:"cinderSchedulerImage,omitempty"`
98+
CloudKittyAPIImage *string `json:"cloudkittyAPIImage,omitempty"`
99+
CloudKittyProcImage *string `json:"cloudkittyProcImage,omitempty"`
98100
DesignateAPIImage *string `json:"designateAPIImage,omitempty"`
99101
DesignateBackendbind9Image *string `json:"designateBackendbind9Image,omitempty"`
100102
DesignateCentralImage *string `json:"designateCentralImage,omitempty"`

apis/core/v1beta1/zz_generated.deepcopy.go

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

0 commit comments

Comments
 (0)