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