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[@]}"