WIP: Update environment variables for new grafana-backuper version #1
1 changed files with 10 additions and 8 deletions
|
@ -15,38 +15,40 @@ spec:
|
|||
failedJobsHistoryLimit: 3
|
||||
jobTemplate:
|
||||
spec:
|
||||
ttlSecondsAfterFinished: 1800
|
||||
ttlSecondsAfterFinished: 3600
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: grafana-backuper
|
||||
image: git.ar21.de/yolokube/grafana-backuper:latest
|
||||
env:
|
||||
- name: GRAFANA_URL
|
||||
- name: GB_GRAFANA_URL
|
||||
value: "http://prometheus-grafana.prometheus"
|
||||
- name: GRAFANA_AUTH_TOKEN
|
||||
- name: GB_GRAFANA_TOKEN
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: grafana-secrets
|
||||
key: grafana-auth-token
|
||||
- name: GIT_REPO_URL
|
||||
- name: GB_GIT_REPO
|
||||
value: "https://git.ar21.de/yolokube/grafana-dashboards.git"
|
||||
- name: GIT_USER
|
||||
- name: GB_GIT_BRANCH
|
||||
value: "main"
|
||||
- name: GB_GIT_USER
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: git-secrets
|
||||
key: git-user
|
||||
- name: GIT_EMAIL
|
||||
- name: GB_GIT_EMAIL
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: git-secrets
|
||||
key: git-email
|
||||
- name: GIT_PASS
|
||||
- name: GB_GIT_PASS
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: git-secrets
|
||||
key: git-pass
|
||||
- name: GIT_SIGNING_KEY
|
||||
- name: GB_SIGNING_KEY
|
||||
value: /app/keys/signing-key.asc
|
||||
volumeMounts:
|
||||
- name: key-volume
|
||||
|
|
Loading…
Reference in a new issue