2022-05-23 23:27:50 +02:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: drone
|
|
|
|
namespace: 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
|
2022-06-23 17:35:35 +02:00
|
|
|
envFrom:
|
|
|
|
- secretRef:
|
|
|
|
name: drone-secrets
|