From 0e1add0d43cae80d1dbd5a0f518e3587f142d340 Mon Sep 17 00:00:00 2001 From: unkin-agent Date: Fri, 2 Oct 2026 22:48:08 +1000 Subject: [PATCH] Allow victoria-metrics-k8s-stack dashboard sources on github_user --- config/remote_generic/github_user.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config/remote_generic/github_user.yaml b/config/remote_generic/github_user.yaml index 557a8ca..d331a34 100644 --- a/config/remote_generic/github_user.yaml +++ b/config/remote_generic/github_user.yaml @@ -2,8 +2,18 @@ base_url: https://raw.githubusercontent.com description: GitHub User Content immutable_ttl: 0 mutable_ttl: 7200 +mutable_patterns: + # victoria-metrics-k8s-stack dashboard sources; branch refs move, so these + # revalidate on mutable_ttl instead of caching immutably. + - "^dotdc/grafana-dashboards-kubernetes/master/dashboards/k8s-[a-z-]+\\.json$" + - "^monitoring-mixins/website/master/assets/etcd/dashboards/etcd\\.json$" + - "^prometheus-operator/kube-prometheus/main/manifests/grafana-dashboardDefinitions\\.yaml$" patterns: - "argoproj/argo-cd/.*.yaml$" - "datreeio/CRDs-catalog/main/.*.json$" - "kubernetes/kubernetes/.*.json$" - "yannh/kubernetes-json-schema/master/.*.json$" + # victoria-metrics-k8s-stack dashboard sources (also in mutable_patterns). + - "^dotdc/grafana-dashboards-kubernetes/master/dashboards/k8s-[a-z-]+\\.json$" + - "^monitoring-mixins/website/master/assets/etcd/dashboards/etcd\\.json$" + - "^prometheus-operator/kube-prometheus/main/manifests/grafana-dashboardDefinitions\\.yaml$" -- 2.47.3