2021-10-11 20:12:50 +07:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
2022-04-01 11:25:29 +07:00
|
|
|
namespace: default
|
2021-10-11 20:12:50 +07:00
|
|
|
name: drone
|
|
|
|
labels:
|
|
|
|
app.kubernetes.io/name: drone
|
|
|
|
spec:
|
2022-04-01 11:25:29 +07:00
|
|
|
replicas: 2
|
2021-10-11 20:12:50 +07:00
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app.kubernetes.io/name: drone
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app.kubernetes.io/name: drone
|
|
|
|
spec:
|
|
|
|
containers:
|
2022-04-01 10:44:38 +07:00
|
|
|
- name: runner
|
|
|
|
image: drone/drone-runner-kube:latest
|
|
|
|
ports:
|
|
|
|
- containerPort: 3000
|
|
|
|
env:
|
|
|
|
- name: DRONE_RPC_HOST
|
|
|
|
value: dci.cubetiqs.com
|
|
|
|
- name: DRONE_RPC_PROTO
|
|
|
|
value: https
|
|
|
|
- name: DRONE_RPC_SECRET
|
|
|
|
value: 1a6c2d8b6fac4bf9351e5149c39e7fc4
|