Skip to content
Open
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
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ tidy: ## Run go mod tidy on every mod file in the repo

.PHONY: test
test: manifests generate fmt vet envtest ## Run tests.
KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) --bin-dir $(LOCALBIN) -p path)" go test ./... -coverprofile cover.out
KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) --bin-dir $(LOCALBIN) -p path)" go test ./... ./api/... -coverprofile cover.out

##@ Build

Expand Down
39 changes: 39 additions & 0 deletions api/bases/telemetry.openstack.org_autoscalings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,23 @@ spec:
default: memcached
description: Memcached instance name.
type: string
messagingBus:
description: MessagingBus 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
networkAttachmentDefinitions:
description: NetworkAttachmentDefinitions list of network attachment
definitions the service pod gets attached to
Expand All @@ -116,6 +133,23 @@ spec:
description: NodeSelector to target subset of worker nodes running
this service
type: object
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
notifierImage:
type: string
override:
Expand Down Expand Up @@ -309,6 +343,7 @@ spec:
description: |-
RabbitMQ instance name
Needed to request a transportURL that is created and used in Aodh
Deprecated: Use MessagingBus.Cluster instead
type: string
secret:
default: osp-secret
Expand Down Expand Up @@ -496,6 +531,10 @@ spec:
items:
type: string
type: array
notificationsURLSecret:
description: NotificationsURLSecret - Secret containing RabbitMQ notification
transportURL
type: string
observedGeneration:
description: |-
ObservedGeneration - the most recent generation observed for this
Expand Down
38 changes: 38 additions & 0 deletions api/bases/telemetry.openstack.org_ceilometers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,22 @@ spec:
description: SecretName - holding the cert, key for the service
type: string
type: object
messagingBus:
description: MessagingBus 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
mysqldExporterDatabaseAccountPrefix:
default: mysqld-exporter
description: |-
Expand Down Expand Up @@ -193,6 +209,23 @@ spec:
type: object
notificationImage:
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
passwordSelector:
default:
ceilometerService: CeilometerPassword
Expand Down Expand Up @@ -222,6 +255,7 @@ spec:
description: |-
RabbitMQ instance name
Needed to request a transportURL that is created and used in Telemetry
Deprecated: Use MessagingBus.Cluster instead
type: string
secret:
default: osp-secret
Expand Down Expand Up @@ -367,6 +401,10 @@ spec:
items:
type: string
type: array
notificationsURLSecret:
description: NotificationsURLSecret - Secret containing RabbitMQ notification
transportURL
type: string
observedGeneration:
description: |-
ObservedGeneration - the most recent generation observed for this
Expand Down
38 changes: 38 additions & 0 deletions api/bases/telemetry.openstack.org_cloudkitties.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,22 @@ spec:
default: memcached
description: Memcached instance name.
type: string
messagingBus:
description: MessagingBus 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
nodeSelector:
additionalProperties:
type: string
Expand All @@ -531,6 +547,23 @@ spec:
NodeSelector here acts as a default value and can be overridden by service
specific NodeSelector Settings.
type: object
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
passwordSelector:
default:
cloudKittyService: CloudKittyPassword
Expand Down Expand Up @@ -602,6 +635,7 @@ spec:
description: |-
RabbitMQ instance name
Needed to request a transportURL that is created and used in CloudKitty
Deprecated: Use MessagingBus.Cluster instead
type: string
s3StorageConfig:
default:
Expand Down Expand Up @@ -771,6 +805,10 @@ spec:
type: string
description: Map of hashes to track e.g. job status
type: object
notificationsURLSecret:
description: NotificationsURLSecret - Secret containing RabbitMQ notification
transportURL
type: string
observedGeneration:
description: |-
ObservedGeneration - the most recent generation observed for this service.
Expand Down
105 changes: 105 additions & 0 deletions api/bases/telemetry.openstack.org_telemetries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,23 @@ spec:
default: memcached
description: Memcached instance name.
type: string
messagingBus:
description: MessagingBus 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
networkAttachmentDefinitions:
description: NetworkAttachmentDefinitions list of network
attachment definitions the service pod gets attached to
Expand All @@ -119,6 +136,23 @@ spec:
description: NodeSelector to target subset of worker nodes
running this service
type: object
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
notifierImage:
type: string
override:
Expand Down Expand Up @@ -312,6 +346,7 @@ spec:
description: |-
RabbitMQ instance name
Needed to request a transportURL that is created and used in Aodh
Deprecated: Use MessagingBus.Cluster instead
type: string
secret:
default: osp-secret
Expand Down Expand Up @@ -475,6 +510,23 @@ spec:
description: SecretName - holding the cert, key for the service
type: string
type: object
messagingBus:
description: MessagingBus 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
mysqldExporterDatabaseAccountPrefix:
default: mysqld-exporter
description: |-
Expand Down Expand Up @@ -515,6 +567,23 @@ spec:
type: object
notificationImage:
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
passwordSelector:
default:
ceilometerService: CeilometerPassword
Expand Down Expand Up @@ -544,6 +613,7 @@ spec:
description: |-
RabbitMQ instance name
Needed to request a transportURL that is created and used in Telemetry
Deprecated: Use MessagingBus.Cluster instead
type: string
secret:
default: osp-secret
Expand Down Expand Up @@ -1088,6 +1158,23 @@ spec:
default: memcached
description: Memcached instance name.
type: string
messagingBus:
description: MessagingBus 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
nodeSelector:
additionalProperties:
type: string
Expand All @@ -1096,6 +1183,23 @@ spec:
NodeSelector here acts as a default value and can be overridden by service
specific NodeSelector Settings.
type: object
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
passwordSelector:
default:
cloudKittyService: CloudKittyPassword
Expand Down Expand Up @@ -1168,6 +1272,7 @@ spec:
description: |-
RabbitMQ instance name
Needed to request a transportURL that is created and used in CloudKitty
Deprecated: Use MessagingBus.Cluster instead
type: string
s3StorageConfig:
default:
Expand Down
Loading