Externalize TeslaMate dashboards to forge mirror #296
1 changed files with 2 additions and 2 deletions
Fix init container: use Alpine for proper TLS/redirect support
Busybox 1.31.1 wget doesn't follow Caddy's HTTP→HTTPS redirect. Switch to Alpine 3.21 which has a full wget with TLS support, and use the HTTPS URL directly. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
commit
8e9014aeef
|
|
@ -48,14 +48,14 @@ spec:
|
|||
# Fetch TeslaMate dashboards from forge mirror at a pinned tag.
|
||||
# To upgrade: update TESLAMATE_VERSION below.
|
||||
- name: init-teslamate-dashboards
|
||||
image: docker.io/library/busybox:kustomized
|
||||
image: docker.io/library/alpine:3.21
|
||||
imagePullPolicy: IfNotPresent
|
||||
command: ["sh", "-c"]
|
||||
args:
|
||||
- |
|
||||
set -e
|
||||
TESLAMATE_VERSION="v3.0.0"
|
||||
BASE_URL="http://forge.ops.eblu.me/mirrors/teslamate/raw/tag/${TESLAMATE_VERSION}/grafana/dashboards"
|
||||
BASE_URL="https://forge.ops.eblu.me/mirrors/teslamate/raw/tag/${TESLAMATE_VERSION}/grafana/dashboards"
|
||||
DEST="/tmp/dashboards/TeslaMate"
|
||||
mkdir -p "$DEST"
|
||||
for f in \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue