add app plane
This commit is contained in:
35
apps/plane/base/job.yaml
Normal file
35
apps/plane/base/job.yaml
Normal file
@@ -0,0 +1,35 @@
|
||||
---
|
||||
apiVersion: batch/v1
|
||||
kind: Job
|
||||
metadata:
|
||||
namespace: plane
|
||||
name: plane-api-migrate-{{ .Release.Revision }}
|
||||
spec:
|
||||
backoffLimit: 3
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.name: plane-api-migrate
|
||||
spec:
|
||||
containers:
|
||||
- name: plane-api-migrate
|
||||
image: makeplane/plane-backend:stable
|
||||
command:
|
||||
- ./bin/docker-entrypoint-migrator.sh
|
||||
imagePullPolicy: Always
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: plane-app-vars
|
||||
optional: false
|
||||
- secretRef:
|
||||
name: plane-app-secrets
|
||||
optional: false
|
||||
- configMapRef:
|
||||
name: plane-doc-store-vars
|
||||
optional: false
|
||||
- secretRef:
|
||||
name: plane-doc-store-secrets
|
||||
optional: false
|
||||
restartPolicy: OnFailure
|
||||
serviceAccount: plane-srv-account
|
||||
serviceAccountName: plane-srv-account
|
||||
Reference in New Issue
Block a user