mirror of https://github.com/abpframework/abp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
529 B
23 lines
529 B
apiVersion: batch/v1
|
|
kind: Job
|
|
metadata:
|
|
name: restore-database
|
|
spec:
|
|
template:
|
|
metadata:
|
|
name: restore-database
|
|
spec:
|
|
containers:
|
|
- env:
|
|
- name: SA_PASSWORD
|
|
value: yourStrong(!)Password
|
|
name: restore-database
|
|
image: "volosoft/microservice-demo-restore-database"
|
|
volumeMounts:
|
|
- mountPath: /var/opt/mssql
|
|
name: dbdata
|
|
volumes:
|
|
- name: dbdata
|
|
persistentVolumeClaim:
|
|
claimName: dbdata
|
|
restartPolicy: Never |