From c9d62b59607b40ddd1fedc2b7be4af3c690e34a1 Mon Sep 17 00:00:00 2001 From: Markus Wieland Date: Fri, 27 Mar 2026 13:54:28 +0100 Subject: [PATCH 1/2] Increase default sync interval for OpenStack datasource from 60s to 600s --- api/v1alpha1/datasource_types.go | 2 +- helm/library/cortex/files/crds/cortex.cloud_datasources.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/v1alpha1/datasource_types.go b/api/v1alpha1/datasource_types.go index 699523e6b..fff321c48 100644 --- a/api/v1alpha1/datasource_types.go +++ b/api/v1alpha1/datasource_types.go @@ -167,7 +167,7 @@ type OpenStackDatasource struct { Cinder CinderDatasource `json:"cinder"` // How often to sync the datasource. - // +kubebuilder:default="60s" + // +kubebuilder:default="600s" SyncInterval metav1.Duration `json:"syncInterval"` // Keystone credentials secret ref for authenticating with openstack. diff --git a/helm/library/cortex/files/crds/cortex.cloud_datasources.yaml b/helm/library/cortex/files/crds/cortex.cloud_datasources.yaml index f04e0c2cb..846d6a076 100644 --- a/helm/library/cortex/files/crds/cortex.cloud_datasources.yaml +++ b/helm/library/cortex/files/crds/cortex.cloud_datasources.yaml @@ -180,7 +180,7 @@ spec: type: object x-kubernetes-map-type: atomic syncInterval: - default: 60s + default: 600s description: How often to sync the datasource. type: string type: From 10ce18dc18fbc5d90dd57fd98c66833f32f9c313 Mon Sep 17 00:00:00 2001 From: Markus Wieland Date: Fri, 27 Mar 2026 14:03:43 +0100 Subject: [PATCH 2/2] Add syncInterval of 600s to OpenStack datasource configurations --- helm/bundles/cortex-nova/templates/datasources.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/helm/bundles/cortex-nova/templates/datasources.yaml b/helm/bundles/cortex-nova/templates/datasources.yaml index 1d50aea1f..f9160602f 100644 --- a/helm/bundles/cortex-nova/templates/datasources.yaml +++ b/helm/bundles/cortex-nova/templates/datasources.yaml @@ -87,6 +87,7 @@ spec: {{- end }} type: openstack openstack: + syncInterval: 600s secretRef: name: cortex-nova-openstack-keystone namespace: {{ .Release.Namespace }} @@ -110,6 +111,7 @@ spec: {{- end }} type: openstack openstack: + syncInterval: 600s secretRef: name: cortex-nova-openstack-keystone namespace: {{ .Release.Namespace }} @@ -133,6 +135,7 @@ spec: {{- end }} type: openstack openstack: + syncInterval: 600s secretRef: name: cortex-nova-openstack-keystone namespace: {{ .Release.Namespace }} @@ -156,6 +159,7 @@ spec: {{- end }} type: openstack openstack: + syncInterval: 600s secretRef: name: cortex-nova-openstack-keystone namespace: {{ .Release.Namespace }} @@ -179,6 +183,7 @@ spec: {{- end }} type: openstack openstack: + syncInterval: 600s secretRef: name: cortex-nova-openstack-keystone namespace: {{ .Release.Namespace }} @@ -202,6 +207,7 @@ spec: {{- end }} type: openstack openstack: + syncInterval: 600s secretRef: name: cortex-nova-openstack-keystone namespace: {{ .Release.Namespace }} @@ -225,6 +231,7 @@ spec: {{- end }} type: openstack openstack: + syncInterval: 600s secretRef: name: cortex-nova-openstack-keystone namespace: {{ .Release.Namespace }} @@ -248,6 +255,7 @@ spec: {{- end }} type: openstack openstack: + syncInterval: 600s secretRef: name: cortex-nova-openstack-keystone namespace: {{ .Release.Namespace }} @@ -271,6 +279,7 @@ spec: {{- end }} type: openstack openstack: + syncInterval: 600s secretRef: name: cortex-nova-openstack-keystone namespace: {{ .Release.Namespace }} @@ -294,6 +303,7 @@ spec: {{- end }} type: openstack openstack: + syncInterval: 600s secretRef: name: cortex-nova-openstack-keystone namespace: {{ .Release.Namespace }} @@ -317,6 +327,7 @@ spec: {{- end }} type: openstack openstack: + syncInterval: 600s secretRef: name: cortex-nova-openstack-keystone namespace: {{ .Release.Namespace }} @@ -340,6 +351,7 @@ spec: {{- end }} type: openstack openstack: + syncInterval: 600s secretRef: name: cortex-nova-openstack-keystone namespace: {{ .Release.Namespace }}