migrate v1

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

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