2021-04-22 09:59:18 +00:00
|
|
|
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
|
|
|
|
# get latest chart until they have upstream repo fixed
|
|
|
|
rm -rf charts/nats && mkdir -p charts/nats
|
|
|
|
|
|
|
|
git clone --depth=1 https://github.com/nats-io/k8s.git
|
|
|
|
cp -r k8s/helm/charts/nats/* charts/nats/
|
|
|
|
rm -rf k8s
|
2021-05-04 13:00:24 +00:00
|
|
|
|
|
|
|
# Fetch dashboards
|
|
|
|
../kubezero-metrics/sync_grafana_dashboards.py dashboards.yaml templates/grafana-dashboards.yaml
|