migrate v1

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

View File

@ -20,14 +20,5 @@ spec:
name: data name: data
subPath: etcd subPath: etcd
command: command:
- etcdctl - migrate
- --endpoints=http://etcd:2379
- snap
- save
- /data/snap-{{ now | unixEpoch }}
volumes:
- name: data
persistentVolumeClaim:
claimName: etcd-backups
{{ end }} {{ end }}

View File

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