Update Renovate to appropriately update dependencies
Update Renovate json to appropriately update dependencies within the wrapper chart. Also related to this issue
This may be a script and new pattern in renovate-runner project
Concept:
Steps
- Parse out alloy version from chart.yaml at https://github.com/grafana/k8s-monitoring-helm/blob/main/charts/k8s-monitoring-v1/Chart.yaml dependencies:
- name: alloy version: 0.9.2
1 new. Get dependency versions from helm commands
helm repo add "repo_grafana" "https://grafana.github.io/helm-charts"
helm repo update
helm pull repo_grafana/k8s-monitoring --untar --untardir temp
echo $(helm dep list temp/k8s-monitoring | head -n 2 | awk 'END{print $2}')
-
Use that version number to go to this chart URL and extract appVersion from URL below (Example - appVersion: 'v1.4.2') https://github.com/grafana/alloy/blob/helm-chart/0.9.1/operations/helm/charts/alloy/Chart.yaml
-
Use that version number to go to this values URL https://github.com/grafana/alloy/blob/helm-chart/0.9.1/operations/helm/charts/alloy/values.yaml
-
Extract alloy.configReloader.image.tag (example - tag: v0.12.0)
Currently the renovate misappropriately updates
-
registry1.dso.mil/ironbank/opensource/grafana/alloy (source)
fromv1.3.1
tov1.4.3
instead of correctlyv1.4.2
-
registry1.dso.mil/ironbank/opensource/jimmidyson/configmap-reload
fromv0.12.0
tov0.14.0
instead of correctlyv0.12.0
Reference this merge request created by renovate bot.
Desired outcomes were