apiVersion: apps/v1
kind: Deployment
metadata:
name: drone-deployment
namespace: drone
labels:
app: drone-deployment
# keel.sh/policy: force
spec:
replicas: 1
selector:
matchLabels:
template:
containers:
- name: drone-deployment
image: drone/drone:2
ports:
- containerPort: 80
envFrom:
- secretRef:
name: drone-secret
imagePullSecrets:
- name: registry-creds