gitea/manifests/common/job.yaml
ange 02ad10ea6d
All checks were successful
/ deploy (push) Successful in 12s
feat: renovatebot (#1)
Reviewed-on: #1
2024-12-23 02:14:57 +00:00

30 lines
620 B
YAML

---
apiVersion: batch/v1
kind: Job
metadata:
name: migrate
spec:
template:
spec:
restartPolicy: Never
containers:
- name: migrate
image: "$IMAGEAPP"
command:
- gitea
- migrate
volumeMounts:
- name: config
mountPath: /etc/gitea/app.ini
subPath: app.ini
- name: secrets
mountPath: /etc/gitea/secrets/
volumes:
- name: config
configMap:
name: gitea
- name: secrets
secret:
secretName: gitea
backoffLimit: 4