fix: avoid resetting healthy observability
Deploy Cluster / Terraform (push) Successful in 33s
Deploy Cluster / Ansible (push) Successful in 23m12s

This commit is contained in:
2026-04-26 20:25:42 +00:00
parent 0625eee297
commit 14462dd870
4 changed files with 9 additions and 13 deletions
+4 -11
View File
@@ -9,6 +9,10 @@ on:
- main
workflow_dispatch:
concurrency:
group: prod-cluster
cancel-in-progress: false
env:
TF_VERSION: "1.7.0"
TF_VAR_s3_access_key: ${{ secrets.S3_ACCESS_KEY }}
@@ -1123,17 +1127,6 @@ jobs:
kubectl -n flux-system wait --for=condition=Ready kustomization/addon-rancher-config --timeout=300s
kubectl -n flux-system wait --for=condition=Ready kustomization/addon-rancher-backup --timeout=300s
kubectl -n flux-system wait --for=condition=Ready kustomization/addon-rancher-backup-config --timeout=300s
reconcile_at=$(date +%s)
for release in kube-prometheus-stack loki promtail; do
kubectl -n flux-system annotate "helmrelease/${release}" \
reconcile.fluxcd.io/requestedAt="${reconcile_at}" \
reconcile.fluxcd.io/resetAt="${reconcile_at}" \
reconcile.fluxcd.io/forceAt="${reconcile_at}" \
--overwrite
done
kubectl -n flux-system annotate kustomization/addon-observability \
reconcile.fluxcd.io/requestedAt="${reconcile_at}" \
--overwrite
kubectl -n flux-system wait --for=condition=Ready kustomization/addon-observability --timeout=1200s
kubectl -n flux-system wait --for=condition=Ready kustomization/addon-observability-content --timeout=300s
kubectl -n flux-system wait --for=condition=Ready helmrelease --all --timeout=1200s
+4
View File
@@ -8,6 +8,10 @@ on:
required: true
default: ''
concurrency:
group: prod-cluster
cancel-in-progress: false
env:
TF_VERSION: "1.7.0"
TF_VAR_s3_access_key: ${{ secrets.S3_ACCESS_KEY }}