Skip to content

Commit 695c7d8

Browse files
authored
remove hardcoded plugin value (#10)
* remove hardcoded plugin value * bump chart version
1 parent 12cc605 commit 695c7d8

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-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.9
3+
version: 1.0.10
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.9
6+
version: 1.0.10
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.9
14+
version: 1.0.10
1515
options:
1616
- name: prometheusRules.create
1717
description: Create Prometheus rules

charts/controlplane-operations/templates/_helpers.tpl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ app.kubernetes.io/part-of: {{ $root.Release.Name }}
1212
{{- define "controlplane-operations.ruleSelectorLabels" }}
1313
{{- $path := index . 0 -}}
1414
{{- $root := index . 1 -}}
15-
plugin: {{ $root.Release.Name }}
1615
{{- if $root.Values.prometheusRules.ruleSelectors }}
1716
{{- range $i, $target := $root.Values.prometheusRules.ruleSelectors }}
1817
{{ $target.name | required (printf "$.Values.prometheusRules.ruleSelector.[%v].name missing" $i) }}: {{ tpl ($target.value | required (printf "$.Values.prometheusRules.ruleSelector.[%v].value missing" $i)) $root }}

0 commit comments

Comments
 (0)