Tobias Brunner
153e078d51
All checks were successful
continuous-integration/drone/push Build is passing
42 lines
865 B
YAML
42 lines
865 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
labels:
|
|
app: acmedns
|
|
name: acmedns
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: acmedns
|
|
strategy: {}
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: acmedns
|
|
spec:
|
|
containers:
|
|
- image: docker.io/joohoi/acme-dns:latest
|
|
name: acmedns
|
|
imagePullPolicy: IfNotPresent
|
|
ports:
|
|
- containerPort: 53
|
|
protocol: TCP
|
|
- containerPort: 53
|
|
protocol: UDP
|
|
- containerPort: 8080
|
|
protocol: TCP
|
|
name: api
|
|
volumeMounts:
|
|
- name: config
|
|
mountPath: /etc/acme-dns
|
|
- name: data
|
|
mountPath: /var/lib/acme-dns
|
|
volumes:
|
|
- name: config
|
|
configMap:
|
|
name: acmedns-config
|
|
- name: data
|
|
persistentVolumeClaim:
|
|
claimName: data
|