16 lines
480 B
Bash
Executable File
16 lines
480 B
Bash
Executable File
#!/bin/bash
|
|
set -ex
|
|
|
|
### NATS
|
|
|
|
# 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
|
|
|
|
# Fetch dashboards
|
|
../kubezero-metrics/sync_grafana_dashboards.py dashboards-nats.yaml templates/nats/grafana-dashboards.yaml
|
|
../kubezero-metrics/sync_grafana_dashboards.py dashboards-rabbitmq.yaml templates/rabbitmq/grafana-dashboards.yaml
|