base/grafana-backuper.yaml: update environment variables for new grafana-backuper version

This commit is contained in:
Tom Neuber 2024-08-19 14:46:52 +02:00
parent 30c8a660ef
commit 5cbd6affa3
Signed by: tom
GPG key ID: F17EFE4272D89FF6

View file

@ -15,38 +15,40 @@ spec:
failedJobsHistoryLimit: 3 failedJobsHistoryLimit: 3
jobTemplate: jobTemplate:
spec: spec:
ttlSecondsAfterFinished: 1800 ttlSecondsAfterFinished: 3600
template: template:
spec: spec:
containers: containers:
- name: grafana-backuper - name: grafana-backuper
image: git.ar21.de/yolokube/grafana-backuper:latest image: git.ar21.de/yolokube/grafana-backuper:latest
env: env:
- name: GRAFANA_URL - name: GB_GRAFANA_URL
value: "http://prometheus-grafana.prometheus" value: "http://prometheus-grafana.prometheus"
- name: GRAFANA_AUTH_TOKEN - name: GB_GRAFANA_TOKEN
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: grafana-secrets name: grafana-secrets
key: grafana-auth-token key: grafana-auth-token
- name: GIT_REPO_URL - name: GB_GIT_REPO
value: "https://git.ar21.de/yolokube/grafana-dashboards.git" value: "https://git.ar21.de/yolokube/grafana-dashboards.git"
- name: GIT_USER - name: GB_GIT_BRANCH
value: "main"
- name: GB_GIT_USER
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: git-secrets name: git-secrets
key: git-user key: git-user
- name: GIT_EMAIL - name: GB_GIT_EMAIL
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: git-secrets name: git-secrets
key: git-email key: git-email
- name: GIT_PASS - name: GB_GIT_PASS
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: git-secrets name: git-secrets
key: git-pass key: git-pass
- name: GIT_SIGNING_KEY - name: GB_SIGNING_KEY
value: /app/keys/signing-key.asc value: /app/keys/signing-key.asc
volumeMounts: volumeMounts:
- name: key-volume - name: key-volume