strato-infra/flux/cluster/apps/drone/drone-deployment.yaml

29 lines
577 B
YAML
Raw Normal View History

2022-05-23 23:27:50 +02:00
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-secret
2022-05-23 23:27:50 +02:00
imagePullSecrets:
- name: registry-creds