Compare commits
No commits in common. "0558cc05997219f483822403fd4dc1141a3f702b" and "b4e877d6299b411480d4038ea0e1e70c37c2524a" have entirely different histories.
0558cc0599
...
b4e877d629
6 changed files with 2 additions and 184 deletions
|
@ -380,9 +380,9 @@ metadata:
|
||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
repoURL: https://git.ar21.de/yolokube/core-deployments.git
|
repoURL: https://git.ar21.de/yolokube/grafana-backuper-deployment.git
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
path: grafana-backuper
|
path: "overlay"
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: grafana-backuper
|
namespace: grafana-backuper
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Namespace
|
|
||||||
metadata:
|
|
||||||
name: grafana-backuper
|
|
|
@ -1,58 +0,0 @@
|
||||||
---
|
|
||||||
apiVersion: batch/v1
|
|
||||||
kind: CronJob
|
|
||||||
metadata:
|
|
||||||
name: grafana-backuper
|
|
||||||
namespace: grafana-backuper
|
|
||||||
spec:
|
|
||||||
schedule: "0 * * * *"
|
|
||||||
successfulJobsHistoryLimit: 1
|
|
||||||
failedJobsHistoryLimit: 3
|
|
||||||
jobTemplate:
|
|
||||||
spec:
|
|
||||||
ttlSecondsAfterFinished: 3600
|
|
||||||
template:
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- name: grafana-backuper
|
|
||||||
image: git.ar21.de/yolokube/grafana-backuper:latest
|
|
||||||
env:
|
|
||||||
- name: GB_GRAFANA_URL
|
|
||||||
value: "http://prometheus-grafana.prometheus"
|
|
||||||
- name: GB_GRAFANA_TOKEN
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: grafana-secrets
|
|
||||||
key: grafana-auth-token
|
|
||||||
- name: GB_GIT_REPO
|
|
||||||
value: "https://git.ar21.de/yolokube/grafana-dashboards.git"
|
|
||||||
- name: GB_GIT_BRANCH
|
|
||||||
value: "main"
|
|
||||||
- name: GB_GIT_USER
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: git-secrets
|
|
||||||
key: git-user
|
|
||||||
- name: GB_GIT_EMAIL
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: git-secrets
|
|
||||||
key: git-email
|
|
||||||
- name: GB_GIT_PASS
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: git-secrets
|
|
||||||
key: git-pass
|
|
||||||
- name: GB_SIGNING_KEY
|
|
||||||
value: /app/keys/signing-key.asc
|
|
||||||
- name: GB_SEQUENCE
|
|
||||||
value: "backup,restore"
|
|
||||||
volumeMounts:
|
|
||||||
- name: key-volume
|
|
||||||
mountPath: /app/keys
|
|
||||||
imagePullPolicy: IfNotPresent
|
|
||||||
volumes:
|
|
||||||
- name: key-volume
|
|
||||||
secret:
|
|
||||||
secretName: gpg-key
|
|
||||||
restartPolicy: Never
|
|
File diff suppressed because one or more lines are too long
|
@ -1,12 +0,0 @@
|
||||||
generators:
|
|
||||||
- secret-generator.yaml
|
|
||||||
resources:
|
|
||||||
- 0-namespace.yaml
|
|
||||||
- 1-cronjob.yaml
|
|
||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
images:
|
|
||||||
- name: git.ar21.de/yolokube/grafana-backuper
|
|
||||||
newName: git.ar21.de/yolokube/grafana-backuper
|
|
||||||
newTag: "49"
|
|
||||||
namespace: grafana-backuper
|
|
|
@ -1,11 +0,0 @@
|
||||||
---
|
|
||||||
apiVersion: viaduct.ai/v1
|
|
||||||
kind: ksops
|
|
||||||
metadata:
|
|
||||||
name: secret-generator
|
|
||||||
annotations:
|
|
||||||
config.kubernetes.io/function: |
|
|
||||||
exec:
|
|
||||||
path: ksops
|
|
||||||
files:
|
|
||||||
- 2-secret.yaml
|
|
Loading…
Add table
Add a link
Reference in a new issue