Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions api/bases/core.openstack.org_openstackcontrolplanes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4380,6 +4380,18 @@ spec:
type: object
notificationBusInstance:
type: string
notificationsBus:
properties:
cluster:
minLength: 1
type: string
user:
type: string
vhost:
type: string
required:
- cluster
type: object
passwordSelectors:
default:
service: GlancePassword
Expand Down Expand Up @@ -7888,6 +7900,18 @@ spec:
additionalProperties:
type: string
type: object
notificationsBus:
properties:
cluster:
minLength: 1
type: string
user:
type: string
vhost:
type: string
required:
- cluster
type: object
override:
properties:
service:
Expand Down
16 changes: 12 additions & 4 deletions api/core/v1beta1/openstackcontrolplane_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,9 @@ func (r *OpenStackControlPlane) ValidateCreateServices(basePath *field.Path) (ad

// Call internal validation logic for individual service operators
if r.Spec.Keystone.Enabled {
errors = append(errors, r.Spec.Keystone.Template.ValidateCreate(basePath.Child("keystone").Child("template"), r.Namespace)...)
warns, errs := r.Spec.Keystone.Template.ValidateCreate(basePath.Child("keystone").Child("template"), r.Namespace)
errors = append(errors, errs...)
warnings = append(warnings, warns...)
errors = append(errors, validateTLSOverrideSpec(&r.Spec.Keystone.APIOverride.Route, basePath.Child("keystone").Child("apiOverride").Child("route"))...)
}

Expand Down Expand Up @@ -301,7 +303,9 @@ func (r *OpenStackControlPlane) ValidateCreateServices(basePath *field.Path) (ad
glancev1.GetCrMaxLengthCorrection(glanceName, glanceAPI.Type)) // omit issue with statefulset pod label "controller-revision-hash": "<statefulset_name>-<hash>"
errors = append(errors, err...)
}
errors = append(errors, r.Spec.Glance.Template.ValidateCreate(basePath.Child("glance").Child("template"), r.Namespace)...)
warns, errs := r.Spec.Glance.Template.ValidateCreate(basePath.Child("glance").Child("template"), r.Namespace)
errors = append(errors, errs...)
warnings = append(warnings, warns...)

for key, override := range r.Spec.Glance.APIOverride {
overridePath := basePath.Child("glance").Child("apiOverride").Key(key)
Expand Down Expand Up @@ -429,7 +433,9 @@ func (r *OpenStackControlPlane) ValidateUpdateServices(old OpenStackControlPlane
if old.Keystone.Template == nil {
old.Keystone.Template = &keystonev1.KeystoneAPISpecCore{}
}
errors = append(errors, r.Spec.Keystone.Template.ValidateUpdate(*old.Keystone.Template, basePath.Child("keystone").Child("template"), r.Namespace)...)
warns, errs := r.Spec.Keystone.Template.ValidateUpdate(*old.Keystone.Template, basePath.Child("keystone").Child("template"), r.Namespace)
errors = append(errors, errs...)
warnings = append(warnings, warns...)
errors = append(errors, validateTLSOverrideSpec(&r.Spec.Keystone.APIOverride.Route, basePath.Child("keystone").Child("apiOverride").Child("route"))...)
}

Expand Down Expand Up @@ -485,7 +491,9 @@ func (r *OpenStackControlPlane) ValidateUpdateServices(old OpenStackControlPlane
glancev1.GetCrMaxLengthCorrection(glanceName, glanceAPI.Type)) // omit issue with statefulset pod label "controller-revision-hash": "<statefulset_name>-<hash>"
errors = append(errors, err...)
}
errors = append(errors, r.Spec.Glance.Template.ValidateUpdate(*old.Glance.Template, basePath.Child("glance").Child("template"), r.Namespace)...)
warns, errs := r.Spec.Glance.Template.ValidateUpdate(*old.Glance.Template, basePath.Child("glance").Child("template"), r.Namespace)
errors = append(errors, errs...)
warnings = append(warnings, warns...)

for key, override := range r.Spec.Glance.APIOverride {
overridePath := basePath.Child("glance").Child("apiOverride").Key(key)
Expand Down
12 changes: 8 additions & 4 deletions api/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ require (
github.com/openstack-k8s-operators/glance-operator/api v0.6.1-0.20260120080045-1c470da1ed9b
github.com/openstack-k8s-operators/heat-operator/api v0.6.1-0.20260110225157-5b3bf0296d6e
github.com/openstack-k8s-operators/horizon-operator/api v0.6.1-0.20260111154931-be9fdcb15911
github.com/openstack-k8s-operators/infra-operator/apis v0.6.1-0.20260123105816-865d02e287a9
github.com/openstack-k8s-operators/infra-operator/apis v0.6.1-0.20260124124521-834dd78eceb9
github.com/openstack-k8s-operators/ironic-operator/api v0.6.1-0.20260120223530-82e5723b1f91
github.com/openstack-k8s-operators/keystone-operator/api v0.6.1-0.20260120112029-cd452f0497ba
github.com/openstack-k8s-operators/lib-common/modules/common v0.6.1-0.20251230215914-6ba873b49a35
github.com/openstack-k8s-operators/lib-common/modules/storage v0.6.1-0.20251230215914-6ba873b49a35
github.com/openstack-k8s-operators/lib-common/modules/common v0.6.1-0.20260126081203-efc2df9207eb
github.com/openstack-k8s-operators/lib-common/modules/storage v0.6.1-0.20260126081203-efc2df9207eb
github.com/openstack-k8s-operators/manila-operator/api v0.6.1-0.20260119144421-0c24d784b5c4
github.com/openstack-k8s-operators/mariadb-operator/api v0.6.1-0.20260120155328-e04f52e73f01
github.com/openstack-k8s-operators/neutron-operator/api v0.6.1-0.20260123040231-1805ef59ac51
Expand Down Expand Up @@ -80,7 +80,7 @@ require (
github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/openshift/api v3.9.0+incompatible // indirect
github.com/openstack-k8s-operators/lib-common/modules/openstack v0.6.1-0.20251230215914-6ba873b49a35 // indirect
github.com/openstack-k8s-operators/lib-common/modules/openstack v0.6.1-0.20260126081203-efc2df9207eb // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/prometheus/client_golang v1.22.0 // indirect
github.com/prometheus/client_model v0.6.2 // indirect
Expand Down Expand Up @@ -143,3 +143,7 @@ replace k8s.io/code-generator => k8s.io/code-generator v0.31.14 //allow-merging
replace k8s.io/component-base => k8s.io/component-base v0.31.14 //allow-merging

replace github.com/cert-manager/cmctl/v2 => github.com/cert-manager/cmctl/v2 v2.1.2-0.20241127223932-88edb96860cf //allow-merging

replace github.com/openstack-k8s-operators/keystone-operator/api => github.com/lmiccini/keystone-operator/api v0.0.0-20260126134229-5c4ccd648c80

replace github.com/openstack-k8s-operators/glance-operator/api => github.com/lmiccini/glance-operator/api v0.0.0-20260126082232-7d867f42a4dc
24 changes: 12 additions & 12 deletions api/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0
github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw=
github.com/leodido/go-urn v1.4.0 h1:WT9HwE9SGECu3lg4d/dIA+jxlljEa1/ffXKmRjqdmIQ=
github.com/leodido/go-urn v1.4.0/go.mod h1:bvxc+MVxLKB4z00jd1z+Dvzr47oO32F/QSNjSBOlFxI=
github.com/lmiccini/glance-operator/api v0.0.0-20260126082232-7d867f42a4dc h1:UGlIvMGviaqeBSnCuv6nhr3DBzPbkaIEZ8qXML3d7XE=
github.com/lmiccini/glance-operator/api v0.0.0-20260126082232-7d867f42a4dc/go.mod h1:AEZ1xH8KnaDA/3rJDQQMbEBzMD8nitomm36d/TZvMj0=
github.com/lmiccini/keystone-operator/api v0.0.0-20260126134229-5c4ccd648c80 h1:IRu3VJ/zCDbkebLngjmBV4jgSx6m9lcLj1rgsu4itro=
github.com/lmiccini/keystone-operator/api v0.0.0-20260126134229-5c4ccd648c80/go.mod h1:097T7Mt1uDKyKjAEPpZ8M4GBe9OdrisDNogCecclK6k=
github.com/mailru/easyjson v0.9.0 h1:PrnmzHw7262yW8sTBwxi1PdJA3Iw/EKBa8psRf7d9a4=
github.com/mailru/easyjson v0.9.0/go.mod h1:1+xMtQp2MRNVL/V1bOzuP3aP8VNwRW55fQUto+XFtTU=
github.com/maruel/natural v1.1.1 h1:Hja7XhhmvEFhcByqDoHz9QZbkWey+COd9xWfCfn1ioo=
Expand Down Expand Up @@ -120,24 +124,20 @@ github.com/openstack-k8s-operators/cinder-operator/api v0.6.1-0.20260123201723-6
github.com/openstack-k8s-operators/cinder-operator/api v0.6.1-0.20260123201723-60da1f2d9b83/go.mod h1:zGIXNYjHyRfNIEF9RJehBZ5Azd5AUtoHXx7FxpQOJ54=
github.com/openstack-k8s-operators/designate-operator/api v0.6.1-0.20260116130311-be0d2af32151 h1:HFozpOv84PL+hlXFQfqtC39htH+Nsvy+0xFqJDpAmoU=
github.com/openstack-k8s-operators/designate-operator/api v0.6.1-0.20260116130311-be0d2af32151/go.mod h1:X8ULjyhQmjJVZIH19etCLZf60/KPxc1i1YI9/osYQvw=
github.com/openstack-k8s-operators/glance-operator/api v0.6.1-0.20260120080045-1c470da1ed9b h1:bTelVTmjxylpcJbtrnxBT1qtP4ziMjt2fUv7+ZEC3h8=
github.com/openstack-k8s-operators/glance-operator/api v0.6.1-0.20260120080045-1c470da1ed9b/go.mod h1:ghegwjz1c0J8GSjZiM/qSIzg+qjZNCwUbwbPEbrcrno=
github.com/openstack-k8s-operators/heat-operator/api v0.6.1-0.20260110225157-5b3bf0296d6e h1:ynaKOj8sQcZBWXBmiB+TnxLKJ3oVEuBhfOvC/jwX4Ao=
github.com/openstack-k8s-operators/heat-operator/api v0.6.1-0.20260110225157-5b3bf0296d6e/go.mod h1:kZ/HozGVLmv4LrhsoxjjKT/zckenLznLQY1ud6z1CbY=
github.com/openstack-k8s-operators/horizon-operator/api v0.6.1-0.20260111154931-be9fdcb15911 h1:yO+lHq/SGfFyGjKMcD6xgaqC19fHtrRfTQ/5MZpRo1M=
github.com/openstack-k8s-operators/horizon-operator/api v0.6.1-0.20260111154931-be9fdcb15911/go.mod h1:j4xehAICMmNT/2VnRcOToMHZA9/Nj0SsiyETceUK7Pc=
github.com/openstack-k8s-operators/infra-operator/apis v0.6.1-0.20260123105816-865d02e287a9 h1:tD6nnTRcyUCXdVMWPHLApk12tzQlQni5eoxvQ8XdbP8=
github.com/openstack-k8s-operators/infra-operator/apis v0.6.1-0.20260123105816-865d02e287a9/go.mod h1:ZXwFlspJCdZEUjMbmaf61t5AMB4u2vMyAMMoe/vJroE=
github.com/openstack-k8s-operators/infra-operator/apis v0.6.1-0.20260124124521-834dd78eceb9 h1:87CTyKbobvZPGOqiigSO+/PPbMnFHoYecjwBdnxxEGw=
github.com/openstack-k8s-operators/infra-operator/apis v0.6.1-0.20260124124521-834dd78eceb9/go.mod h1:ZXwFlspJCdZEUjMbmaf61t5AMB4u2vMyAMMoe/vJroE=
github.com/openstack-k8s-operators/ironic-operator/api v0.6.1-0.20260120223530-82e5723b1f91 h1:bRwXk33W8XGJXxLgKoJym1yIV67iILG8e/YrCv1rCVA=
github.com/openstack-k8s-operators/ironic-operator/api v0.6.1-0.20260120223530-82e5723b1f91/go.mod h1:pOMPE4BqDjla9JI8KFcRnM6yuIb/pkA8GnE6QY31FIs=
github.com/openstack-k8s-operators/keystone-operator/api v0.6.1-0.20260120112029-cd452f0497ba h1:4VaDkZFawGCkzwvfijnFLz0Gduxh17buj9fIwk0WULo=
github.com/openstack-k8s-operators/keystone-operator/api v0.6.1-0.20260120112029-cd452f0497ba/go.mod h1:xqvebn9DqLavxp2z8Rz/7i1S6M9MJhxmZVHC+S1uHX0=
github.com/openstack-k8s-operators/lib-common/modules/common v0.6.1-0.20251230215914-6ba873b49a35 h1:pF3mJ3nwq6r4qwom+rEWZNquZpcQW/iftHlJ1KPIDsk=
github.com/openstack-k8s-operators/lib-common/modules/common v0.6.1-0.20251230215914-6ba873b49a35/go.mod h1:kycZyoe7OZdW1HUghr2nI3N7wSJtNahXf6b/ypD14f4=
github.com/openstack-k8s-operators/lib-common/modules/openstack v0.6.1-0.20251230215914-6ba873b49a35 h1:IdcI8DFvW8rXtchONSzbDmhhRp1YyO2YaBJDBXr44Gk=
github.com/openstack-k8s-operators/lib-common/modules/openstack v0.6.1-0.20251230215914-6ba873b49a35/go.mod h1:zOX7Y05keiSppIvLabuyh42QHBMhCcoskAtxFRbwXKo=
github.com/openstack-k8s-operators/lib-common/modules/storage v0.6.1-0.20251230215914-6ba873b49a35 h1:8WZYfCt1VJHa5sJRX0UhpmoXud/fn8LHQhXsakdYXuQ=
github.com/openstack-k8s-operators/lib-common/modules/storage v0.6.1-0.20251230215914-6ba873b49a35/go.mod h1:H0aQANk8iJPRhS2Bg9n6cYb/IHF0Cks9g7+uZG04Rhk=
github.com/openstack-k8s-operators/lib-common/modules/common v0.6.1-0.20260126081203-efc2df9207eb h1:S7tnYO/E1f1KQfcp7N5bam8+ax/ExDTOhZ1WqG4Bfu0=
github.com/openstack-k8s-operators/lib-common/modules/common v0.6.1-0.20260126081203-efc2df9207eb/go.mod h1:ndqfy1KbVorHH6+zlUFPIrCRhMSxO3ImYJUGaooE0x0=
github.com/openstack-k8s-operators/lib-common/modules/openstack v0.6.1-0.20260126081203-efc2df9207eb h1:E59YGRP8XWq8vi6AUUxyYyBD1ahzcr3RKDkZmxpi+qs=
github.com/openstack-k8s-operators/lib-common/modules/openstack v0.6.1-0.20260126081203-efc2df9207eb/go.mod h1:zOX7Y05keiSppIvLabuyh42QHBMhCcoskAtxFRbwXKo=
github.com/openstack-k8s-operators/lib-common/modules/storage v0.6.1-0.20260126081203-efc2df9207eb h1:0kP9V1pKfRno6ss7qAy3GcfVK29CobWym6WA7AYA7wY=
github.com/openstack-k8s-operators/lib-common/modules/storage v0.6.1-0.20260126081203-efc2df9207eb/go.mod h1:jofj+VqDszxLCZSBYo794KGkCjMo01xzhQ/gffYzf3I=
github.com/openstack-k8s-operators/manila-operator/api v0.6.1-0.20260119144421-0c24d784b5c4 h1:wYoCaC7r00+BsuYfetXJc6+a4uDs5Qp/tGWiA3zzWCM=
github.com/openstack-k8s-operators/manila-operator/api v0.6.1-0.20260119144421-0c24d784b5c4/go.mod h1:VKrN8rmHVOZsJXtvCw+fRtlhDmel3bi6wzGzUMScuOc=
github.com/openstack-k8s-operators/mariadb-operator/api v0.6.1-0.20260120155328-e04f52e73f01 h1:93NxJ/fFx41HcFXk4nJk4PPz4lrqzNMviTmKyWwa+vg=
Expand Down
24 changes: 24 additions & 0 deletions bindata/crds/crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4645,6 +4645,18 @@ spec:
type: object
notificationBusInstance:
type: string
notificationsBus:
properties:
cluster:
minLength: 1
type: string
user:
type: string
vhost:
type: string
required:
- cluster
type: object
passwordSelectors:
default:
service: GlancePassword
Expand Down Expand Up @@ -8153,6 +8165,18 @@ spec:
additionalProperties:
type: string
type: object
notificationsBus:
properties:
cluster:
minLength: 1
type: string
user:
type: string
vhost:
type: string
required:
- cluster
type: object
override:
properties:
service:
Expand Down
18 changes: 18 additions & 0 deletions bindata/crds/glance.openstack.org_glances.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1622,7 +1622,25 @@ spec:
RabbitMQ instance name
Needed to request a transportURL that is created and used for notification
purposes
deprecated: Use NotificationsBus.Cluster instead
type: string
notificationsBus:
description: NotificationsBus configuration (username, vhost, and
cluster) for notifications
properties:
cluster:
description: Name of the cluster
minLength: 1
type: string
user:
description: User - RabbitMQ username
type: string
vhost:
description: Vhost - RabbitMQ vhost name
type: string
required:
- cluster
type: object
passwordSelectors:
default:
service: GlancePassword
Expand Down
17 changes: 17 additions & 0 deletions bindata/crds/keystone.openstack.org_keystoneapis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1285,6 +1285,23 @@ spec:
description: NodeSelector to target subset of worker nodes running
this service
type: object
notificationsBus:
description: NotificationsBus configuration (username, vhost, and
cluster)
properties:
cluster:
description: Name of the cluster
minLength: 1
type: string
user:
description: User - RabbitMQ username
type: string
vhost:
description: Vhost - RabbitMQ vhost name
type: string
required:
- cluster
type: object
override:
description: Override, provides the ability to override the generated
manifest of several child resources.
Expand Down
24 changes: 24 additions & 0 deletions config/crd/bases/core.openstack.org_openstackcontrolplanes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4380,6 +4380,18 @@ spec:
type: object
notificationBusInstance:
type: string
notificationsBus:
properties:
cluster:
minLength: 1
type: string
user:
type: string
vhost:
type: string
required:
- cluster
type: object
passwordSelectors:
default:
service: GlancePassword
Expand Down Expand Up @@ -7888,6 +7900,18 @@ spec:
additionalProperties:
type: string
type: object
notificationsBus:
properties:
cluster:
minLength: 1
type: string
user:
type: string
vhost:
type: string
required:
- cluster
type: object
override:
properties:
service:
Expand Down
6 changes: 3 additions & 3 deletions config/operator/manager_operator_images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ spec:
- name: RELATED_IMAGE_DESIGNATE_OPERATOR_MANAGER_IMAGE_URL
value: quay.io/openstack-k8s-operators/designate-operator@sha256:6c88312afa9673f7b72c558368034d7a488ead73080cdcdf581fe85b99263ece
- name: RELATED_IMAGE_GLANCE_OPERATOR_MANAGER_IMAGE_URL
value: quay.io/openstack-k8s-operators/glance-operator@sha256:9caae9b3ee328df678baa26454e45e47693acdadb27f9c635680597aaec43337
value: quay.io/lmiccini/glance-operator@sha256:bc45409dff26aca6bd982684cfaf093548adb6a71928f5257fe60ab5535dda39
- name: RELATED_IMAGE_HEAT_OPERATOR_MANAGER_IMAGE_URL
value: quay.io/openstack-k8s-operators/heat-operator@sha256:2f9a2f064448faebbae58f52d564dc0e8e39bed0fc12bd6b9fe925e42f1b5492
- name: RELATED_IMAGE_HORIZON_OPERATOR_MANAGER_IMAGE_URL
value: quay.io/openstack-k8s-operators/horizon-operator@sha256:3311e627bcb860d9443592a2c67078417318c9eb77d8ef4d07f9aa7027d46822
- name: RELATED_IMAGE_INFRA_OPERATOR_MANAGER_IMAGE_URL
value: quay.io/openstack-k8s-operators/infra-operator@sha256:72c534cbfa71ed3501bee4937ab2beb8fda27b890ef7a26789824f52710b3846
value: quay.io/openstack-k8s-operators/infra-operator@sha256:7137aa48f59841d0cc267a9afc5ea6b2924ba0670638dd3409307e412c021e96
- name: RELATED_IMAGE_IRONIC_OPERATOR_MANAGER_IMAGE_URL
value: quay.io/openstack-k8s-operators/ironic-operator@sha256:4d55bd6418df3f63f4d3fe47bebf3f5498a520b3e14af98fe16c85ef9fd54d5e
- name: RELATED_IMAGE_KEYSTONE_OPERATOR_MANAGER_IMAGE_URL
value: quay.io/openstack-k8s-operators/keystone-operator@sha256:8e340ff11922b38e811261de96982e1aff5f4eb8f225d1d9f5973025a4fe8349
value: quay.io/lmiccini/keystone-operator@sha256:008a2e338430e7dd513f81f66320cc5c1332c332a3191b537d75786489d7f487
- name: RELATED_IMAGE_MANILA_OPERATOR_MANAGER_IMAGE_URL
value: quay.io/openstack-k8s-operators/manila-operator@sha256:8bee4480babd6fd8f686e0ba52a304acb6ffb90f09c7c57e7f5df5f7658836d8
- name: RELATED_IMAGE_MARIADB_OPERATOR_MANAGER_IMAGE_URL
Expand Down
Loading
Loading