Initial commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# migrate-job.yaml
|
||||
apiVersion: batch/v1
|
||||
kind: Job
|
||||
metadata:
|
||||
name: testpoint-migrate
|
||||
namespace: testpoint
|
||||
spec:
|
||||
backoffLimit: 2
|
||||
template:
|
||||
spec:
|
||||
restartPolicy: Never
|
||||
containers:
|
||||
- name: migrate
|
||||
image: localhost:5000/testpoint:1.0.3
|
||||
command: ["python", "manage.py", "migrate", "--noinput"]
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: testpoint-config
|
||||
- secretRef:
|
||||
name: testpoint-secrets
|
||||
Reference in New Issue
Block a user