create acme-dns deployment

This commit is contained in:
2026-04-13 22:20:35 -04:00
parent cab0ec4819
commit ef94e5519a
4 changed files with 62 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: acme-dns
namespace: "{{apps.acme_dns.namespace}}"
annotations:
kubernetes.io/ingress.class: "traefik"
# traefik.ingress.kubernetes.io/router.entrypoints: websecure
# traefik.ingress.kubernetes.io/router.tls: "true"
# cert-manager.io/cluster-issuer: letsencrypt-production
spec:
rules:
- host: dns-api.xai-corp.net
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: dns-api
port:
number: 80
# tls: # < placing a host in the TLS config will determine what ends up in the cert's subjectAltNames
# - secretName: xai-corp-production-tls-ap1
# hosts:
# - dns-api.xai-corp.net

View File

@@ -0,0 +1,17 @@
---
apiVersion: v1
kind: Service
metadata:
name: acme-dns-dns
namespace: "{{apps.acme_dns.namespace}}"
spec:
# allocateLoadBalancerNodePorts: true
# clusterIP: None
type: LoadBalancer
selector:
app: acme-dns
ports:
- port: 10053
targetPort: 53
protocol: TCP

View File

@@ -0,0 +1,13 @@
---
apiVersion: v1
kind: Service
metadata:
name: acme-dns-api
namespace: "{{apps.acme_dns.namespace}}"
spec:
selector:
app: acme-dns
ports:
- port: 80
targetPort: 80