Skip to content

Commit 6ceff6e

Browse files
authored
Update k8s resource usage tracker chart lock (ITISFoundation#1142)
* Kubernetes: update Chart.lock of RUT In ITISFoundation#1139 resource usage tracker (RUT) chart dependencies were updated but no Chart.lock was not. This PRs updates Chart.lock (via helm dependency update). Bonus: * Automate this with pre-commit hook * fixes bug from ITISFoundation#1139 * Remove readme (it is automated now) * Improve pre-commit hook
1 parent d8aed21 commit 6ceff6e

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,3 +122,10 @@ repos:
122122
always_run: true
123123
language: script
124124
files: '^(.*\/Makefile.*)|(.*\.deploy_everything_locally.bash)|(.*\/services/.*\/.*\.((sh)|(bash)))$'
125+
- id: helm-update-dependencies
126+
name: Helm Dependency Update
127+
description: Make sure all Chart.lock files are up-to-date
128+
entry: bash -c 'find . -name Chart.yaml -exec dirname {} \; | xargs -t -I% helm dependency update %'
129+
language: system
130+
files: ^charts/
131+
pass_filenames: false
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dependencies:
22
- name: common-helpers
33
repository: file://../common-helpers
4-
version: 0.0.1
5-
digest: sha256:5dad45e33a2acd921f5f907f9cabb434bb60f14bb799df95897661e95b302a26
6-
generated: "2024-08-29T11:15:50.206549321+02:00"
4+
version: 0.0.2
5+
digest: sha256:d6893dfacee6738bea269ee1ef0cec150d742d229541cde753b35f45fc1fa48a
6+
generated: "2025-07-21T13:47:47.456513024+02:00"

0 commit comments

Comments
 (0)