Compare commits
No commits in common. "b6edc128ad56aa213f577d7cc56f26160765328f" and "211b84b8b5312641d77125ad07406b37cf81c5bd" have entirely different histories.
b6edc128ad
...
211b84b8b5
@ -185,12 +185,8 @@ releases:
|
|||||||
namespace: k8up
|
namespace: k8up
|
||||||
createNamespace: true
|
createNamespace: true
|
||||||
chart: k8up-io/k8up
|
chart: k8up-io/k8up
|
||||||
values:
|
# backups
|
||||||
- ./k8up/values.yaml
|
- name: k8up-backup
|
||||||
|
|
||||||
|
|
||||||
# backups
|
|
||||||
- name: ghost-backup
|
|
||||||
namespace: ghost
|
namespace: ghost
|
||||||
chart: ./k8up-backup
|
chart: ./k8up-backup
|
||||||
createNamespace: true
|
createNamespace: true
|
||||||
@ -216,6 +212,7 @@ releases:
|
|||||||
value: {{ requiredEnv "HETZNER_S3_ACCESS_SECRET" }}
|
value: {{ requiredEnv "HETZNER_S3_ACCESS_SECRET" }}
|
||||||
- name: repoPassword
|
- name: repoPassword
|
||||||
value: {{ requiredEnv "k8UP_REPO_PASSWORD" }}
|
value: {{ requiredEnv "k8UP_REPO_PASSWORD" }}
|
||||||
|
|
||||||
- name: gitea-backup
|
- name: gitea-backup
|
||||||
namespace: gitea
|
namespace: gitea
|
||||||
chart: ./k8up-backup
|
chart: ./k8up-backup
|
||||||
@ -229,16 +226,4 @@ releases:
|
|||||||
value: {{ requiredEnv "HETZNER_S3_ACCESS_SECRET" }}
|
value: {{ requiredEnv "HETZNER_S3_ACCESS_SECRET" }}
|
||||||
- name: repoPassword
|
- name: repoPassword
|
||||||
value: {{ requiredEnv "k8UP_REPO_PASSWORD" }}
|
value: {{ requiredEnv "k8UP_REPO_PASSWORD" }}
|
||||||
- name: immich-backup
|
|
||||||
namespace: immich
|
|
||||||
chart: ./k8up-backup
|
|
||||||
createNamespace: true
|
|
||||||
values:
|
|
||||||
- ./k8up-backup/values_override.yaml
|
|
||||||
setString:
|
|
||||||
- name: credentials.id
|
|
||||||
value: {{ requiredEnv "HETZNER_S3_ACCESS_KEY" }}
|
|
||||||
- name: credentials.key
|
|
||||||
value: {{ requiredEnv "HETZNER_S3_ACCESS_SECRET" }}
|
|
||||||
- name: repoPassword
|
|
||||||
value: {{ requiredEnv "k8UP_REPO_PASSWORD" }}
|
|
||||||
|
@ -12,19 +12,15 @@ immich:
|
|||||||
persistence:
|
persistence:
|
||||||
library:
|
library:
|
||||||
existingClaim: immich-data
|
existingClaim: immich-data
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
enabled: true
|
enabled: true
|
||||||
master:
|
master:
|
||||||
persistence:
|
|
||||||
annotations:
|
|
||||||
k8up.io/backup: 'false'
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 10m
|
cpu: 10m
|
||||||
limits:
|
limits:
|
||||||
cpu: 1
|
cpu: 1
|
||||||
|
|
||||||
server:
|
server:
|
||||||
ingress:
|
ingress:
|
||||||
main:
|
main:
|
||||||
|
8
justfile
8
justfile
@ -1,13 +1,13 @@
|
|||||||
update:
|
update:
|
||||||
bws run 'helmfile deps'
|
bws run 'helmfile deps'
|
||||||
|
|
||||||
deploy ARGS='':
|
deploy:
|
||||||
bws run 'helmfile apply {{ARGS}}'
|
bws run 'helmfile apply'
|
||||||
|
|
||||||
sdiff ARGS='':
|
sdiff:
|
||||||
bws run 'helmfile diff --output simple'
|
bws run 'helmfile diff --output simple'
|
||||||
|
|
||||||
ddiff ARGS='':
|
ddiff:
|
||||||
bws run 'helmfile diff --output dyff'
|
bws run 'helmfile diff --output dyff'
|
||||||
|
|
||||||
cleanuppods:
|
cleanuppods:
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
# {{- if .Values.oneTimeBackup }}
|
|
||||||
|
|
||||||
apiVersion: k8up.io/v1
|
apiVersion: k8up.io/v1
|
||||||
kind: Backup
|
kind: Backup
|
||||||
metadata:
|
metadata:
|
||||||
@ -20,4 +18,3 @@ spec:
|
|||||||
secretAccessKeySecretRef:
|
secretAccessKeySecretRef:
|
||||||
name: "{{ .Release.Name }}-credentials"
|
name: "{{ .Release.Name }}-credentials"
|
||||||
key: key
|
key: key
|
||||||
# {{- end }}
|
|
||||||
|
@ -1,35 +0,0 @@
|
|||||||
# {{- if not .Values.oneTimeBackup }}
|
|
||||||
apiVersion: k8up.io/v1
|
|
||||||
kind: Schedule
|
|
||||||
metadata:
|
|
||||||
name: "{{ .Release.Name }}-schedule"
|
|
||||||
spec:
|
|
||||||
backend:
|
|
||||||
repoPasswordSecretRef:
|
|
||||||
name: "{{ .Release.Name }}-repopassword"
|
|
||||||
key: password
|
|
||||||
s3:
|
|
||||||
endpoint: "{{ .Values.endpoint }}"
|
|
||||||
bucket: "{{ .Values.bucket }}"
|
|
||||||
accessKeyIDSecretRef:
|
|
||||||
name: "{{ .Release.Name }}-credentials"
|
|
||||||
key: id
|
|
||||||
secretAccessKeySecretRef:
|
|
||||||
name: "{{ .Release.Name }}-credentials"
|
|
||||||
key: key
|
|
||||||
backup:
|
|
||||||
schedule: '@hourly-random'
|
|
||||||
failedJobsHistoryLimit: 2
|
|
||||||
successfulJobsHistoryLimit: 2
|
|
||||||
# optional
|
|
||||||
#promURL: https://prometheus-io-instance:8443
|
|
||||||
check:
|
|
||||||
schedule: '@daily-random'
|
|
||||||
# optional
|
|
||||||
#promURL: https://prometheus-io-instance:8443
|
|
||||||
prune:
|
|
||||||
schedule: '@weekly-ramdom'
|
|
||||||
retention:
|
|
||||||
keepLast: 5
|
|
||||||
keep Daily: 14
|
|
||||||
# {{- end }}
|
|
@ -5,4 +5,3 @@
|
|||||||
# id:
|
# id:
|
||||||
# key:
|
# key:
|
||||||
|
|
||||||
oneTimeBackup: false
|
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
k8up:
|
|
||||||
envVars:
|
|
||||||
- name: BACKUP_GLOBAL_CONCURRENT_BACKUP_JOBS_LIMIT
|
|
||||||
values: 1
|
|
Loading…
x
Reference in New Issue
Block a user