From ccec1102efdaff6c9a32d7cf4b02d3c5fe6a0bd4 Mon Sep 17 00:00:00 2001 From: mr-forust Date: Mon, 14 Sep 2026 01:29:24 +0200 Subject: [PATCH] ci(deploy): helm upgrade kube-prometheus-stack when active --- .github/workflows/deploy.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 5c8bfb8..8ca9d37 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -130,6 +130,15 @@ jobs: echo " namespaces first: ${ns_files[*]}" kubectl apply -f "${ns_files[@]}" fi + if [ -f "$repo/prometheus-stack/k8s/active" ]; then + echo "== Upgrading kube-prometheus-stack ==" + helm upgrade --install prometheus-stack prometheus-community/kube-prometheus-stack \ + --namespace prometheus \ + --version 86.2.3 \ + --values "$repo/prometheus-stack/k8s/grafana-values.yaml" \ + --wait + fi + if [ "${#other_files[@]}" -gt 0 ]; then echo " resources: ${other_files[*]}" kubectl apply "${prune_opts[@]}" -f "${other_files[@]}"