Skip to content

Commit c4e96a7

Browse files
Merge pull request #1614 from jlarriba/cloudkitty
Add CloudKitty to the services deployed by Telemetry
2 parents d2882c8 + 470490c commit c4e96a7

27 files changed

+4052
-13
lines changed

apis/bases/core.openstack.org_openstackcontrolplanes.yaml

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

apis/bases/core.openstack.org_openstackversions.yaml

Lines changed: 16 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:
@@ -315,6 +319,10 @@ spec:
315319
type: string
316320
cinderVolumeImage:
317321
type: string
322+
cloudkittyAPIImage:
323+
type: string
324+
cloudkittyProcImage:
325+
type: string
318326
designateAPIImage:
319327
type: string
320328
designateBackendbind9Image:
@@ -511,6 +519,10 @@ spec:
511519
additionalProperties:
512520
type: string
513521
type: object
522+
cloudkittyAPIImage:
523+
type: string
524+
cloudkittyProcImage:
525+
type: string
514526
designateAPIImage:
515527
type: string
516528
designateBackendbind9Image:
@@ -719,6 +731,10 @@ spec:
719731
additionalProperties:
720732
type: string
721733
type: object
734+
cloudkittyAPIImage:
735+
type: string
736+
cloudkittyProcImage:
737+
type: string
722738
designateAPIImage:
723739
type: string
724740
designateBackendbind9Image:

apis/core/v1beta1/openstackcontrolplane_types.go

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

705+
// +kubebuilder:validation:Optional
706+
// +operator-sdk:csv:customresourcedefinitions:type=spec
707+
// CloudKittyAPIOverride, provides the ability to override the generated manifest of several child resources.
708+
CloudKittyAPIOverride Override `json:"cloudKittyApiOverride,omitempty"`
709+
705710
// +kubebuilder:validation:Optional
706711
// +operator-sdk:csv:customresourcedefinitions:type=spec
707712
// 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
@@ -253,6 +253,10 @@ func (r *OpenStackControlPlane) checkDepsEnabled(name string) string {
253253
if !(r.Spec.Rabbitmq.Enabled && r.Spec.Keystone.Enabled) {
254254
reqs = "RabbitMQ, Keystone"
255255
}
256+
case "Telemetry.CloudKitty":
257+
if !(r.Spec.Rabbitmq.Enabled && r.Spec.Keystone.Enabled) {
258+
reqs = "RabbitMQ, Keystone"
259+
}
256260
case "Watcher":
257261
if !(r.Spec.Galera.Enabled && r.Spec.Memcached.Enabled && r.Spec.Rabbitmq.Enabled &&
258262
r.Spec.Keystone.Enabled && r.Spec.Telemetry.Enabled && *r.Spec.Telemetry.Template.Ceilometer.Enabled &&

apis/core/v1beta1/openstackversion_types.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ type ContainerTemplate struct {
9696
CinderAPIImage *string `json:"cinderAPIImage,omitempty"`
9797
CinderBackupImage *string `json:"cinderBackupImage,omitempty"`
9898
CinderSchedulerImage *string `json:"cinderSchedulerImage,omitempty"`
99+
CloudKittyAPIImage *string `json:"cloudkittyAPIImage,omitempty"`
100+
CloudKittyProcImage *string `json:"cloudkittyProcImage,omitempty"`
99101
DesignateAPIImage *string `json:"designateAPIImage,omitempty"`
100102
DesignateBackendbind9Image *string `json:"designateBackendbind9Image,omitempty"`
101103
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.

apis/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ require (
2727
github.com/openstack-k8s-operators/ovn-operator/api v0.6.1-0.20251111072459-1ceb14e1eab0
2828
github.com/openstack-k8s-operators/placement-operator/api v0.6.1-0.20251112201103-7583889cdb89
2929
github.com/openstack-k8s-operators/swift-operator/api v0.6.1-0.20251112213455-cc9071dc6aa0
30-
github.com/openstack-k8s-operators/telemetry-operator/api v0.6.1-0.20251105154519-2bcf8bd1e585
30+
github.com/openstack-k8s-operators/telemetry-operator/api v0.6.1-0.20251120134433-6280f54c4d86
3131
github.com/openstack-k8s-operators/watcher-operator/api v0.6.1-0.20251112134615-47fb2954fea8
3232
github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring v0.71.0-rhobs1 // indirect
3333
github.com/rhobs/observability-operator v0.3.1 // indirect

apis/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ github.com/openstack-k8s-operators/rabbitmq-cluster-operator/v2 v2.6.1-0.2025092
158158
github.com/openstack-k8s-operators/rabbitmq-cluster-operator/v2 v2.6.1-0.20250929174222-a0d328fa4dec/go.mod h1:Nh2NEePLjovUQof2krTAg4JaAoLacqtPTZQXK6izNfg=
159159
github.com/openstack-k8s-operators/swift-operator/api v0.6.1-0.20251112213455-cc9071dc6aa0 h1:lTWnuB7HUP5Wee4QC0lS+PKD4Ep3wsxlk8LAKGU6j1s=
160160
github.com/openstack-k8s-operators/swift-operator/api v0.6.1-0.20251112213455-cc9071dc6aa0/go.mod h1:ei5t/R+qRHpQkj+2Rtidx7V9t3GStquMRuB8xooLvPU=
161-
github.com/openstack-k8s-operators/telemetry-operator/api v0.6.1-0.20251105154519-2bcf8bd1e585 h1:KbSzdbRm3M64sf2JUJFoO3jOMt5+U4DmUt6cgNUSP9Y=
162-
github.com/openstack-k8s-operators/telemetry-operator/api v0.6.1-0.20251105154519-2bcf8bd1e585/go.mod h1:1DjlpLaA81y5pzBXP2mE6PcdMyobYu2AiArhbLlbBn8=
161+
github.com/openstack-k8s-operators/telemetry-operator/api v0.6.1-0.20251120134433-6280f54c4d86 h1:8nH646IJdpnjZTvaUAFPW94WrjQsd2O4wZqg8R8Tekc=
162+
github.com/openstack-k8s-operators/telemetry-operator/api v0.6.1-0.20251120134433-6280f54c4d86/go.mod h1:1DjlpLaA81y5pzBXP2mE6PcdMyobYu2AiArhbLlbBn8=
163163
github.com/openstack-k8s-operators/watcher-operator/api v0.6.1-0.20251112134615-47fb2954fea8 h1:dSFlDD6W8ezsg8pBSbcbdRkrcYeOu/ZrzQtVEhfCtmE=
164164
github.com/openstack-k8s-operators/watcher-operator/api v0.6.1-0.20251112134615-47fb2954fea8/go.mod h1:nln30Bm/OC/TuBVnYmia35eaV8MEQm/IZa9gC4PMbOc=
165165
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=

0 commit comments

Comments
 (0)