migrate v1

main
Mikaël Cluseau 2023-10-04 21:26:03 +02:00
parent 1329b0470c
commit d23335f35c
3 changed files with 3 additions and 17 deletions

View File

@ -7,7 +7,6 @@ metadata:
generateName: presync-wave-1-etcd-backup-
annotations:
argocd.argoproj.io/hook: PreSync
argocd.argoproj.io/sync-wave: "1"
spec:
backoffLimit: 3
template:

View File

@ -15,19 +15,6 @@ spec:
containers:
- name: migrate
image: {{ .Values.migrate.repo }}:{{ .Values.migrate.tag }}
volumeMounts:
- mountPath: /data
name: data
subPath: etcd
command:
- etcdctl
- --endpoints=http://etcd:2379
- snap
- save
- /data/snap-{{ now | unixEpoch }}
volumes:
- name: data
persistentVolumeClaim:
claimName: etcd-backups
- migrate
{{ end }}

View File

@ -8,11 +8,11 @@ app:
migrate:
repo: gitea.demos.novit.tech/demo/migrate
#tag: v1
tag: v1
#tag: v2
etcd:
backup: false
backup: true
tag: v3.5.8
storage:
class: local