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
9 changes: 9 additions & 0 deletions api/bases/nova.openstack.org_nova.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1624,6 +1624,15 @@ spec:
NodeSelector here acts as a default value and can be overridden by service
specific NodeSelector Settings.
type: object
notificationsBusInstance:
description: |-
NotificationsBusInstance is the name of the RabbitMqCluster CR to select
the Message Bus Service instance used by the Nova top level services and all cells to publish notifications.
If undefined, the value will be inherited from OpenStackControlPlane.
An empty value "" leaves the notification drivers unconfigured and emitting no notifications at all.
Avoid colocating it with RabbitMqClusterName, APIMessageBusInstance or CellMessageBusInstance used for RPC.
For particular Nova cells, notifications cannot be disabled, nor configured differently.
type: string
novncproxyContainerImageURL:
description: NoVNCContainerImageURL
type: string
Expand Down
13 changes: 12 additions & 1 deletion api/v1beta1/nova_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ limitations under the License.
package v1beta1

import (
topologyv1 "github.com/openstack-k8s-operators/infra-operator/apis/topology/v1beta1"
condition "github.com/openstack-k8s-operators/lib-common/modules/common/condition"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
topologyv1 "github.com/openstack-k8s-operators/infra-operator/apis/topology/v1beta1"
)

// EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN!
Expand Down Expand Up @@ -122,10 +122,21 @@ type NovaSpecCore struct {
// TopologyRef to apply the Topology defined by the associated CR referenced
// by name
TopologyRef *topologyv1.TopoRef `json:"topologyRef,omitempty"`

// +kubebuilder:validation:Optional
// NotificationsBusInstance is the name of the RabbitMqCluster CR to select
// the Message Bus Service instance used by the Nova top level services and all cells to publish notifications.
// If undefined, the value will be inherited from OpenStackControlPlane.
// An empty value "" leaves the notification drivers unconfigured and emitting no notifications at all.
// Avoid colocating it with RabbitMqClusterName, APIMessageBusInstance or CellMessageBusInstance used for RPC.
// For particular Nova cells, notifications cannot be disabled, nor configured differently.
NotificationsBusInstance *string `json:"notificationsBusInstance,omitempty"`
}

// NovaSpec defines the desired state of Nova
type NovaSpec struct {
// NOTE(bogdando): Anything that is only submitted by opentack-operator should be in NovaSpec but not in NovaSpecCore.

// +kubebuilder:validation:Required
NovaSpecCore `json:",inline"`

Expand Down
2 changes: 1 addition & 1 deletion api/v1beta1/novacell_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ limitations under the License.
package v1beta1

import (
topologyv1 "github.com/openstack-k8s-operators/infra-operator/apis/topology/v1beta1"
condition "github.com/openstack-k8s-operators/lib-common/modules/common/condition"
"github.com/openstack-k8s-operators/lib-common/modules/common/tls"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
topologyv1 "github.com/openstack-k8s-operators/infra-operator/apis/topology/v1beta1"
)

// EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN!
Expand Down
5 changes: 5 additions & 0 deletions api/v1beta1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions config/crd/bases/nova.openstack.org_nova.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1624,6 +1624,15 @@ spec:
NodeSelector here acts as a default value and can be overridden by service
specific NodeSelector Settings.
type: object
notificationsBusInstance:
description: |-
NotificationsBusInstance is the name of the RabbitMqCluster CR to select
the Message Bus Service instance used by the Nova top level services and all cells to publish notifications.
If undefined, the value will be inherited from OpenStackControlPlane.
An empty value "" leaves the notification drivers unconfigured and emitting no notifications at all.
Avoid colocating it with RabbitMqClusterName, APIMessageBusInstance or CellMessageBusInstance used for RPC.
For particular Nova cells, notifications cannot be disabled, nor configured differently.
type: string
novncproxyContainerImageURL:
description: NoVNCContainerImageURL
type: string
Expand Down