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:
|
2022-05-26 16:40:49 +02:00
|
|
|
- name: drone-deployment
|
|
|
|
image: drone/drone:2
|
|
|
|
ports:
|
|
|
|
- containerPort: 80
|
|
|
|
envFrom:
|
|
|
|
- secretRef:
|
2022-05-30 13:04:34 +02:00
|
|
|
name: drone-secrets
|
2022-05-23 23:27:50 +02:00
|
|
|
imagePullSecrets:
|
2022-05-26 16:40:49 +02:00
|
|
|
- name: registry-creds
|