29 lines
614 B
YAML
29 lines
614 B
YAML
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
name: drone
|
||
|
labels:
|
||
|
app.kubernetes.io/name: drone
|
||
|
spec:
|
||
|
replicas: 1
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
app.kubernetes.io/name: drone
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
app.kubernetes.io/name: drone
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: runner
|
||
|
image: drone/drone-runner-kube:latest
|
||
|
ports:
|
||
|
- containerPort: 3000
|
||
|
env:
|
||
|
- name: DRONE_RPC_HOST
|
||
|
value: dci.osa.cubetiqs.com
|
||
|
- name: DRONE_RPC_PROTO
|
||
|
value: https
|
||
|
- name: DRONE_RPC_SECRET
|
||
|
value: super-duper-secret
|