Skip to content

Commit

Permalink
Update the depenency check config files to work for the specific dire…
Browse files Browse the repository at this point in the history
…ctory, rather than the chart name

Signed-off-by: Pete Wall <pete.wall@grafana.com>
  • Loading branch information
petewall committed Nov 7, 2024
1 parent 267caf9 commit 5ee19c4
Show file tree
Hide file tree
Showing 14 changed files with 63 additions and 63 deletions.
8 changes: 4 additions & 4 deletions charts/feature-cluster-metrics/.updatecli-kepler.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Update dependency "kepler" for Helm chart "k8s-monitoring-feature-cluster-metrics"
name: Update dependency "kepler" for Helm chart "feature-cluster-metrics"
sources:
kepler:
name: Get latest "kepler" Helm chart version
Expand All @@ -15,17 +15,17 @@ conditions:
name: Ensure Helm chart dependency "kepler" is specified
kind: yaml
spec:
file: charts/k8s-monitoring-feature-cluster-metrics/Chart.yaml
file: charts/feature-cluster-metrics/Chart.yaml
key: $.dependencies[3].name
value: kepler
disablesourceinput: true
targets:
kepler:
name: Bump Helm chart dependency "kepler" for Helm chart "k8s-monitoring-feature-cluster-metrics"
name: Bump Helm chart dependency "kepler" for Helm chart "feature-cluster-metrics"
kind: helmchart
spec:
file: Chart.yaml
key: $.dependencies[3].version
name: charts/k8s-monitoring-feature-cluster-metrics
name: charts/feature-cluster-metrics
versionincrement: none
sourceid: kepler
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Update dependency "kube-state-metrics" for Helm chart "k8s-monitoring-feature-cluster-metrics"
name: Update dependency "kube-state-metrics" for Helm chart "feature-cluster-metrics"
sources:
kube-state-metrics:
name: Get latest "kube-state-metrics" Helm chart version
Expand All @@ -15,17 +15,17 @@ conditions:
name: Ensure Helm chart dependency "kube-state-metrics" is specified
kind: yaml
spec:
file: charts/k8s-monitoring-feature-cluster-metrics/Chart.yaml
file: charts/feature-cluster-metrics/Chart.yaml
key: $.dependencies[0].name
value: kube-state-metrics
disablesourceinput: true
targets:
kube-state-metrics:
name: Bump Helm chart dependency "kube-state-metrics" for Helm chart "k8s-monitoring-feature-cluster-metrics"
name: Bump Helm chart dependency "kube-state-metrics" for Helm chart "feature-cluster-metrics"
kind: helmchart
spec:
file: Chart.yaml
key: $.dependencies[0].version
name: charts/k8s-monitoring-feature-cluster-metrics
name: charts/feature-cluster-metrics
versionincrement: none
sourceid: kube-state-metrics
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Update dependency "prometheus-node-exporter" for Helm chart "k8s-monitoring-feature-cluster-metrics"
name: Update dependency "prometheus-node-exporter" for Helm chart "feature-cluster-metrics"
sources:
prometheus-node-exporter:
name: Get latest "prometheus-node-exporter" Helm chart version
Expand All @@ -15,17 +15,17 @@ conditions:
name: Ensure Helm chart dependency "prometheus-node-exporter" is specified
kind: yaml
spec:
file: charts/k8s-monitoring-feature-cluster-metrics/Chart.yaml
file: charts/feature-cluster-metrics/Chart.yaml
key: $.dependencies[1].name
value: prometheus-node-exporter
disablesourceinput: true
targets:
node-exporter:
name: Bump Helm chart dependency "node-exporter" for Helm chart "k8s-monitoring-feature-cluster-metrics"
name: Bump Helm chart dependency "node-exporter" for Helm chart "feature-cluster-metrics"
kind: helmchart
spec:
file: Chart.yaml
key: $.dependencies[1].version
name: charts/k8s-monitoring-feature-cluster-metrics
name: charts/feature-cluster-metrics
versionincrement: none
sourceid: prometheus-node-exporter
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Update dependency "prometheus-windows-exporter" for Helm chart "k8s-monitoring-feature-cluster-metrics"
name: Update dependency "prometheus-windows-exporter" for Helm chart "feature-cluster-metrics"
sources:
prometheus-windows-exporter:
name: Get latest "prometheus-windows-exporter" Helm chart version
Expand All @@ -15,17 +15,17 @@ conditions:
name: Ensure Helm chart dependency "prometheus-windows-exporter" is specified
kind: yaml
spec:
file: charts/k8s-monitoring-feature-cluster-metrics/Chart.yaml
file: charts/feature-cluster-metrics/Chart.yaml
key: $.dependencies[2].name
value: prometheus-windows-exporter
disablesourceinput: true
targets:
windows-exporter:
name: Bump Helm chart dependency "windows-exporter" for Helm chart "k8s-monitoring-feature-cluster-metrics"
name: Bump Helm chart dependency "windows-exporter" for Helm chart "feature-cluster-metrics"
kind: helmchart
spec:
file: Chart.yaml
key: $.dependencies[2].version
name: charts/k8s-monitoring-feature-cluster-metrics
name: charts/feature-cluster-metrics
versionincrement: none
sourceid: prometheus-windows-exporter
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Update dependency "prometheus-operator-crds" for Helm chart "k8s-monitoring-feature-prometheus-operator-objects"
name: Update dependency "prometheus-operator-crds" for Helm chart "feature-prometheus-operator-objects"
sources:
prometheus-operator-crds:
name: Get latest "prometheus-operator-crds" Helm chart version
Expand All @@ -15,17 +15,17 @@ conditions:
name: Ensure Helm chart dependency "prometheus-operator-crds" is specified
kind: yaml
spec:
file: charts/k8s-monitoring-feature-prometheus-operator-objects/Chart.yaml
file: charts/feature-prometheus-operator-objects/Chart.yaml
key: $.dependencies[0].name
value: prometheus-operator-crds
disablesourceinput: true
targets:
crds:
name: Bump Helm chart dependency "crds" for Helm chart "k8s-monitoring-feature-prometheus-operator-objects"
name: Bump Helm chart dependency "crds" for Helm chart "feature-prometheus-operator-objects"
kind: helmchart
spec:
file: Chart.yaml
key: $.dependencies[0].version
name: charts/k8s-monitoring-feature-prometheus-operator-objects
name: charts/feature-prometheus-operator-objects
versionincrement: none
sourceid: prometheus-operator-crds
20 changes: 10 additions & 10 deletions charts/k8s-monitoring-v1/.updatecli-alloy.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Update dependency "alloy" for Helm chart "k8s-monitoring"
name: Update dependency "alloy" for Helm chart "k8s-monitoring-v1"
sources:
alloy:
name: Get latest "alloy" Helm chart version
Expand All @@ -15,44 +15,44 @@ conditions:
name: Ensure Helm chart dependency "alloy" is specified
kind: yaml
spec:
file: charts/k8s-monitoring/Chart.yaml
file: charts/k8s-monitoring-v1/Chart.yaml
key: $.dependencies[0].name
value: alloy
disablesourceinput: true
targets:
alloy:
name: Bump Helm chart dependency "alloy" for Helm chart "k8s-monitoring"
name: Bump Helm chart dependency "alloy" for Helm chart "k8s-monitoring-v1"
kind: helmchart
spec:
file: Chart.yaml
key: $.dependencies[0].version
name: charts/k8s-monitoring
name: charts/k8s-monitoring-v1
versionincrement: none
sourceid: alloy
alloy-events:
name: Bump Helm chart dependency "alloy-events" for Helm chart "k8s-monitoring"
name: Bump Helm chart dependency "alloy-events" for Helm chart "k8s-monitoring-v1"
kind: helmchart
spec:
file: Chart.yaml
key: $.dependencies[1].version
name: charts/k8s-monitoring
name: charts/k8s-monitoring-v1
versionincrement: none
sourceid: alloy
alloy-logs:
name: Bump Helm chart dependency "alloy-logs" for Helm chart "k8s-monitoring"
name: Bump Helm chart dependency "alloy-logs" for Helm chart "k8s-monitoring-v1"
kind: helmchart
spec:
file: Chart.yaml
key: $.dependencies[2].version
name: charts/k8s-monitoring
name: charts/k8s-monitoring-v1
versionincrement: none
sourceid: alloy
alloy-profiles:
name: Bump Helm chart dependency "alloy-profiles" for Helm chart "k8s-monitoring"
name: Bump Helm chart dependency "alloy-profiles" for Helm chart "k8s-monitoring-v1"
kind: helmchart
spec:
file: Chart.yaml
key: $.dependencies[3].version
name: charts/k8s-monitoring
name: charts/k8s-monitoring-v1
versionincrement: none
sourceid: alloy
8 changes: 4 additions & 4 deletions charts/k8s-monitoring-v1/.updatecli-beyla.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Update dependency "beyla" for Helm chart "k8s-monitoring"
name: Update dependency "beyla" for Helm chart "k8s-monitoring-v1"
sources:
beyla:
name: Get latest "beyla" Helm chart version
Expand All @@ -15,17 +15,17 @@ conditions:
name: Ensure Helm chart dependency "beyla" is specified
kind: yaml
spec:
file: charts/k8s-monitoring/Chart.yaml
file: charts/k8s-monitoring-v1/Chart.yaml
key: $.dependencies[10].name
value: beyla
disablesourceinput: true
targets:
beyla:
name: Bump Helm chart dependency "beyla" for Helm chart "k8s-monitoring"
name: Bump Helm chart dependency "beyla" for Helm chart "k8s-monitoring-v1"
kind: helmchart
spec:
file: Chart.yaml
key: $.dependencies[10].version
name: charts/k8s-monitoring
name: charts/k8s-monitoring-v1
versionincrement: none
sourceid: beyla
8 changes: 4 additions & 4 deletions charts/k8s-monitoring-v1/.updatecli-kepler.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Update dependency "kepler" for Helm chart "k8s-monitoring"
name: Update dependency "kepler" for Helm chart "k8s-monitoring-v1"
sources:
kepler:
name: Get latest "kepler" Helm chart version
Expand All @@ -15,17 +15,17 @@ conditions:
name: Ensure Helm chart dependency "kepler" is specified
kind: yaml
spec:
file: charts/k8s-monitoring/Chart.yaml
file: charts/k8s-monitoring-v1/Chart.yaml
key: $.dependencies[9].name
value: kepler
disablesourceinput: true
targets:
kepler:
name: Bump Helm chart dependency "kepler" for Helm chart "k8s-monitoring"
name: Bump Helm chart dependency "kepler" for Helm chart "k8s-monitoring-v1"
kind: helmchart
spec:
file: Chart.yaml
key: $.dependencies[9].version
name: charts/k8s-monitoring
name: charts/k8s-monitoring-v1
versionincrement: none
sourceid: kepler
8 changes: 4 additions & 4 deletions charts/k8s-monitoring-v1/.updatecli-kube-state-metrics.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Update dependency "kube-state-metrics" for Helm chart "k8s-monitoring"
name: Update dependency "kube-state-metrics" for Helm chart "k8s-monitoring-v1"
sources:
kube-state-metrics:
name: Get latest "kube-state-metrics" Helm chart version
Expand All @@ -15,17 +15,17 @@ conditions:
name: Ensure Helm chart dependency "kube-state-metrics" is specified
kind: yaml
spec:
file: charts/k8s-monitoring/Chart.yaml
file: charts/k8s-monitoring-v1/Chart.yaml
key: $.dependencies[4].name
value: kube-state-metrics
disablesourceinput: true
targets:
kube-state-metrics:
name: Bump Helm chart dependency "kube-state-metrics" for Helm chart "k8s-monitoring"
name: Bump Helm chart dependency "kube-state-metrics" for Helm chart "k8s-monitoring-v1"
kind: helmchart
spec:
file: Chart.yaml
key: $.dependencies[4].version
name: charts/k8s-monitoring
name: charts/k8s-monitoring-v1
versionincrement: none
sourceid: kube-state-metrics
8 changes: 4 additions & 4 deletions charts/k8s-monitoring-v1/.updatecli-opencost.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Update dependency "opencost" for Helm chart "k8s-monitoring"
name: Update dependency "opencost" for Helm chart "k8s-monitoring-v1"
sources:
opencost:
name: Get latest "opencost" Helm chart version
Expand All @@ -15,17 +15,17 @@ conditions:
name: Ensure Helm chart dependency "opencost" is specified
kind: yaml
spec:
file: charts/k8s-monitoring/Chart.yaml
file: charts/k8s-monitoring-v1/Chart.yaml
key: $.dependencies[8].name
value: opencost
disablesourceinput: true
targets:
opencost:
name: Bump Helm chart dependency "opencost" for Helm chart "k8s-monitoring"
name: Bump Helm chart dependency "opencost" for Helm chart "k8s-monitoring-v1"
kind: helmchart
spec:
file: Chart.yaml
key: $.dependencies[8].version
name: charts/k8s-monitoring
name: charts/k8s-monitoring-v1
versionincrement: none
sourceid: opencost
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Update dependency "prometheus-node-exporter" for Helm chart "k8s-monitoring"
name: Update dependency "prometheus-node-exporter" for Helm chart "k8s-monitoring-v1"
sources:
prometheus-node-exporter:
name: Get latest "prometheus-node-exporter" Helm chart version
Expand All @@ -15,17 +15,17 @@ conditions:
name: Ensure Helm chart dependency "prometheus-node-exporter" is specified
kind: yaml
spec:
file: charts/k8s-monitoring/Chart.yaml
file: charts/k8s-monitoring-v1/Chart.yaml
key: $.dependencies[5].name
value: prometheus-node-exporter
disablesourceinput: true
targets:
prometheus-node-exporter:
name: Bump Helm chart dependency "prometheus-node-exporter" for Helm chart "k8s-monitoring"
name: Bump Helm chart dependency "prometheus-node-exporter" for Helm chart "k8s-monitoring-v1"
kind: helmchart
spec:
file: Chart.yaml
key: $.dependencies[5].version
name: charts/k8s-monitoring
name: charts/k8s-monitoring-v1
versionincrement: none
sourceid: prometheus-node-exporter
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Update dependency "prometheus-operator-crds" for Helm chart "k8s-monitoring"
name: Update dependency "prometheus-operator-crds" for Helm chart "k8s-monitoring-v1"
sources:
prometheus-operator-crds:
name: Get latest "prometheus-operator-crds" Helm chart version
Expand All @@ -15,17 +15,17 @@ conditions:
name: Ensure Helm chart dependency "prometheus-operator-crds" is specified
kind: yaml
spec:
file: charts/k8s-monitoring/Chart.yaml
file: charts/k8s-monitoring-v1/Chart.yaml
key: $.dependencies[6].name
value: prometheus-operator-crds
disablesourceinput: true
targets:
prometheus-operator-crds:
name: Bump Helm chart dependency "prometheus-operator-crds" for Helm chart "k8s-monitoring"
name: Bump Helm chart dependency "prometheus-operator-crds" for Helm chart "k8s-monitoring-v1"
kind: helmchart
spec:
file: Chart.yaml
key: $.dependencies[6].version
name: charts/k8s-monitoring
name: charts/k8s-monitoring-v1
versionincrement: none
sourceid: prometheus-operator-crds
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Update dependency "prometheus-windows-exporter" for Helm chart "k8s-monitoring"
name: Update dependency "prometheus-windows-exporter" for Helm chart "k8s-monitoring-v1"
sources:
prometheus-windows-exporter:
name: Get latest "prometheus-windows-exporter" Helm chart version
Expand All @@ -15,17 +15,17 @@ conditions:
name: Ensure Helm chart dependency "prometheus-windows-exporter" is specified
kind: yaml
spec:
file: charts/k8s-monitoring/Chart.yaml
file: charts/k8s-monitoring-v1/Chart.yaml
key: $.dependencies[7].name
value: prometheus-windows-exporter
disablesourceinput: true
targets:
prometheus-windows-exporter:
name: Bump Helm chart dependency "prometheus-windows-exporter" for Helm chart "k8s-monitoring"
name: Bump Helm chart dependency "prometheus-windows-exporter" for Helm chart "k8s-monitoring-v1"
kind: helmchart
spec:
file: Chart.yaml
key: $.dependencies[7].version
name: charts/k8s-monitoring
name: charts/k8s-monitoring-v1
versionincrement: none
sourceid: prometheus-windows-exporter
Loading

0 comments on commit 5ee19c4

Please sign in to comment.