create acme-dns deployment
This commit is contained in:
25
ansible-5/roles/prod.k3s/templates/acme-dns/deployment.yaml
Normal file
25
ansible-5/roles/prod.k3s/templates/acme-dns/deployment.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: acme-dns-pod
|
||||
namespace: "{{apps.acme_dns.namespace}}"
|
||||
labels:
|
||||
app: acme-dns
|
||||
spec:
|
||||
containers:
|
||||
- name: acme-dns
|
||||
image: "joohoi/acme-dns:{{apps.acme_dns.version}}"
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: "/etc/acme-dns"
|
||||
readOnly: true
|
||||
- name: data
|
||||
mountPath: "/var/lib/acme-dns"
|
||||
volumes:
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: acme-dns-config-0
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
claimName: acme-dns-data-0
|
||||
|
||||
Reference in New Issue
Block a user