mirror of
https://github.com/jambonz/jambonz-infrastructure.git
synced 2026-11-09 01:13:39 +00:00
22 lines
448 B
YAML
22 lines
448 B
YAML
apiVersion: batch/v1
|
|
kind: Job
|
|
metadata:
|
|
name: db-create
|
|
spec:
|
|
backoffLimit: 10
|
|
template:
|
|
metadata:
|
|
annotations:
|
|
sidecar.istio.io/inject: "false"
|
|
spec:
|
|
containers:
|
|
- envFrom:
|
|
- secretRef:
|
|
name: jambonz
|
|
image: jambonz/db-create:latest
|
|
imagePullPolicy: Always
|
|
name: db
|
|
nodeSelector:
|
|
kubernetes.io/arch: amd64
|
|
restartPolicy: OnFailure
|