Skip to content

Commit 445d175

Browse files
WIP
1 parent a10781d commit 445d175

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

helm/bundles/cortex-manila/templates/alerts.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Copyright 2025 SAP SE
22
# SPDX-License-Identifier: Apache-2.0
33

4+
{{- if .Values.alerts.enabled }}
45
apiVersion: monitoring.coreos.com/v1
56
kind: PrometheusRule
67
metadata:
@@ -13,3 +14,4 @@ spec:
1314
{{- range $path, $file := $files }}
1415
{{ $file | toString | nindent 2 }}
1516
{{- end }}
17+
{{- end }}

helm/bundles/cortex-manila/values.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
owner-info:
5+
enabled: true
56
helm-chart-url: "https://github.com/cobaltcore-dev/cortex/helm/bundles/cortex-manila"
67
maintainers:
78
89
910
1011
support-group: "workload-management"
1112
service: "cortex-manila"
12-
enabled: true
1313

1414
alerts:
15+
enabled: true
1516
prometheus: openstack
1617

1718
# Custom configuration for the cortex postgres chart.

helm/bundles/cortex-nova/templates/alerts.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Copyright 2025 SAP SE
22
# SPDX-License-Identifier: Apache-2.0
33

4+
{{- if .Values.alerts.enabled }}
45
apiVersion: monitoring.coreos.com/v1
56
kind: PrometheusRule
67
metadata:
@@ -13,3 +14,4 @@ spec:
1314
{{- range $path, $file := $files }}
1415
{{ $file | toString | nindent 2 }}
1516
{{- end }}
17+
{{- end }}

helm/bundles/cortex-nova/values.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
owner-info:
5+
enabled: true
56
helm-chart-url: "https://github.com/cobaltcore-dev/cortex/helm/bundles/cortex-nova"
67
maintainers:
78
89
910
1011
support-group: "workload-management"
1112
service: "cortex-nova"
12-
enabled: true
1313

1414
alerts:
15+
enabled: true
1516
prometheus: openstack
1617

1718
# Custom configuration for the cortex postgres chart.

0 commit comments

Comments
 (0)