gitea/manifests/common/job.yaml
ange f231efb04e
All checks were successful
/ deploy (push) Successful in 19s
feat: renovatebot (#2)
Reviewed-on: #2
2024-12-23 02:44:15 +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