Files
mg4/k8s/kustomization.yaml
T
nilsandClaude Opus 5.5 4fe29189c0 Pin the pushed server image; drop the pull secret
mg4-server:2.0.0 is on git.stinnesbeck.com and pulls anonymously, so
the Deployment no longer references a registry pull secret. The image
is pinned by digest (sha256:6feea777…) so a re-pushed tag cannot
change what the cluster runs. README and secrets template updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QLJfZQZeAKAwSqViTmLzki
2026-10-17 16:14:53 +02:00

33 lines
1015 B
YAML

# Render with `kustomize build k8s/` (or `kubectl kustomize k8s/`) and apply it yourself.
# The Secrets are not included: create them from secrets.example.yaml first.
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- namespace.yaml
- influxdb.yaml
- server.yaml
- grafana.yaml
- ingress.yaml
images:
- name: git.stinnesbeck.com/nils/mg4-server
# 2.0.0, pinned by digest so a re-pushed tag cannot change what runs.
digest: sha256:6feea777c514b9488ffb0b49fad7c15423ee06f0e0e8d609cf31eb85755da815
generatorOptions:
labels:
app.kubernetes.io/part-of: mg4
configMapGenerator:
- name: grafana-datasources
namespace: mg4
files:
- mg4.yaml=grafana/datasources.yaml
- name: grafana-dashboard-provider
namespace: mg4
files:
- mg4.yaml=grafana/dashboards.yaml
- name: grafana-dashboards
namespace: mg4
files:
- grafana/dashboards/live.json
- grafana/dashboards/consumption.json
- grafana/dashboards/charging.json