mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-29 21:12:45 -08:00
This commit moves the reconcilers for both the DNS nameserver and DNSConfig custom resource into their own packages within `k8s-operator/reconciler` Closes: https://github.com/tailscale/corp/issues/37088 Signed-off-by: David Bond <[email protected]>
38 lines
774 B
YAML
38 lines
774 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: nameserver
|
|
spec:
|
|
replicas: 1
|
|
revisionHistoryLimit: 5
|
|
selector:
|
|
matchLabels:
|
|
app: nameserver
|
|
strategy:
|
|
type: Recreate
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: nameserver
|
|
spec:
|
|
containers:
|
|
- imagePullPolicy: IfNotPresent
|
|
name: nameserver
|
|
ports:
|
|
- name: tcp
|
|
protocol: TCP
|
|
containerPort: 1053
|
|
- name: udp
|
|
protocol: UDP
|
|
containerPort: 1053
|
|
volumeMounts:
|
|
- name: dnsrecords
|
|
mountPath: /config
|
|
restartPolicy: Always
|
|
serviceAccount: nameserver
|
|
serviceAccountName: nameserver
|
|
volumes:
|
|
- name: dnsrecords
|
|
configMap:
|
|
name: dnsrecords
|