Skip to content

Commit 918db2d

Browse files
committed
fix indent
1 parent 0028e8c commit 918db2d

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

charts/controlplane-operations/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: controlplane-operations
3-
version: 1.0.22
3+
version: 1.0.23
44
description: A set of Plutono dashboards and Prometheus alerting rules combined with playbooks to ensure effective operations of Controlplane clusters.
55
maintainers:
66
- name: Vladimir Videlov (d051408)

charts/controlplane-operations/plugindefinition.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ kind: PluginDefinition
33
metadata:
44
name: controlplane-operations
55
spec:
6-
version: 1.0.22
6+
version: 1.0.23
77
displayName: Controlplane operations bundle
88
description: Operations bundle for Controlane clusters
99
docMarkDownUrl: https://raw.githubusercontent.com/cloudoperators/controlplane-operations/main/README.md
1010
icon: https://raw.githubusercontent.com/cloudoperators/controlplane-operations/main/charts/controlplane-operations/kubernetes-logo.png
1111
helmChart:
1212
name: controlplane-operations
1313
repository: oci://ghcr.io/cloudoperators/controlplane-operations/charts
14-
version: 1.0.22
14+
version: 1.0.23
1515
options:
1616
- name: prometheusRules.create
1717
description: Create Prometheus rules

charts/controlplane-operations/templates/alerts.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ metadata:
1111
{{- if $.Values.prometheusRules.labels }}
1212
{{ toYaml $.Values.prometheusRules.labels | indent 4 }}
1313
{{- end }}
14-
path: {{ printf "%s" $path }}
14+
path: {{ printf "%s" $path }}
15+
{{- if and $.Values.prometheusRules.gardenerRuleLabels (hasSuffix "gardener.yaml" $path) }}
16+
{{ toYaml $.Values.prometheusRules.gardenerRuleLabels | indent 4 }}
17+
{{- end }}
1518
{{- if $.Values.prometheusRules.annotations }}
1619
annotations:
1720
{{ toYaml $.Values.prometheusRules.annotations | indent 4 }}

0 commit comments

Comments
 (0)