Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
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: 2 additions & 0 deletions api/bases/telemetry.openstack.org_metricstorages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1334,6 +1334,8 @@ spec:
type: object
type: object
networkAttachments:
default:
- ctlplane
description: NetworkAttachments is a list of NetworkAttachment resource
names to expose the services to the given network
items:
Expand Down
2 changes: 2 additions & 0 deletions api/bases/telemetry.openstack.org_telemetries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2724,6 +2724,8 @@ spec:
type: object
type: object
networkAttachments:
default:
- ctlplane
description: NetworkAttachments is a list of NetworkAttachment
resource names to expose the services to the given network
items:
Expand Down
3 changes: 2 additions & 1 deletion api/v1beta1/metricstorage_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ type MetricStorageSpec struct {
// NetworkAttachments is a list of NetworkAttachment resource names to expose the services to the given network
// +kubebuilder:validation:Optional
// +listType=atomic
NetworkAttachments []string `json:"networkAttachments,omitempty"`
// +kubebuilder:default:={"ctlplane"}
NetworkAttachments []string `json:"networkAttachments"`

// MonitoringStack allows to define a metric storage with
// options supported by Red Hat
Expand Down
2 changes: 2 additions & 0 deletions config/crd/bases/telemetry.openstack.org_metricstorages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1334,6 +1334,8 @@ spec:
type: object
type: object
networkAttachments:
default:
- ctlplane
description: NetworkAttachments is a list of NetworkAttachment resource
names to expose the services to the given network
items:
Expand Down
2 changes: 2 additions & 0 deletions config/crd/bases/telemetry.openstack.org_telemetries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2724,6 +2724,8 @@ spec:
type: object
type: object
networkAttachments:
default:
- ctlplane
description: NetworkAttachments is a list of NetworkAttachment
resource names to expose the services to the given network
items:
Expand Down
1 change: 1 addition & 0 deletions test/kuttl/tests/cloudkitty/01-deploy-dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ spec:
retention: 24h
persistent:
pvcStorageRequest: 20G
networkAttachments: []
---
# minio
apiVersion: v1
Expand Down
1 change: 1 addition & 0 deletions test/kuttl/tests/default/01-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ spec:
retention: 24h
persistent:
pvcStorageRequest: 20G
networkAttachments: []
autoscaling:
enabled: true
aodh:
Expand Down
1 change: 1 addition & 0 deletions test/kuttl/tests/metricstorage/01-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ spec:
retention: 24h
persistent:
pvcStorageRequest: 20G
networkAttachments: []
---
# Required, so that the mysqld_exporter scrapeconfig is created
apiVersion: telemetry.openstack.org/v1beta1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ spec:
matchLabels:
app: custom-monitoring-stack
retention: 1d
networkAttachments: []
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ spec:
retention: 24h
persistent:
pvcStorageRequest: 20G
networkAttachments: []
1 change: 1 addition & 0 deletions test/kuttl/tests/tls/02-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ spec:
retention: 24h
persistent:
pvcStorageRequest: 20G
networkAttachments: []
prometheusTls:
caBundleSecretName: combined-ca-bundle
secretName: cert-metric-storage-prometheus-svc
Expand Down