ha never straight copy gpt unless it finihses generating lol

This commit is contained in:
j 2025-07-01 12:01:19 +10:00
parent 5476a958b8
commit f70ed7a269

View file

@ -143,5 +143,98 @@ spec:
secret:
secretName: dns-secrets
- name: config
conf
configMap:
name: bind-master-config
- name: bind-cache
emptyDir: {}
- name: bind-rundir
emptyDir: {}
- name: root-hints
emptyDir: {}
---
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: bind-slave
namespace: dns
spec:
selector:
matchLabels:
app: bind-slave
template:
metadata:
labels:
app: bind-slave
spec:
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
securityContext:
fsGroup: 999
containers:
- name: bind9
image: internetsystemsconsortium/bind9:9.18
ports:
- containerPort: 53
protocol: UDP
- containerPort: 53
protocol: TCP
volumeMounts:
- name: config
mountPath: /etc/bind/named.conf
subPath: named.conf
- name: bind-slave-key
subPath: tsig-key.conf
mountPath: /etc/bind/tsig-key.conf
- name: bind-cache
mountPath: /var/cache/bind
- name: bind-rundir
mountPath: /var/run/named
volumes:
- name: config
configMap:
name: bind-slave-config
- name: bind-slave-key
secret:
secretName: bind-slave-key
- name: bind-cache
emptyDir: {}
- name: bind-rundir
emptyDir: {}
---
apiVersion: v1
kind: Service
metadata:
name: bind9
namespace: dns
spec:
type: LoadBalancer
selector:
app: bind-slave
ports:
- name: dns-udp
port: 53
targetPort: 53
protocol: UDP
- name: dns-tcp
port: 53
targetPort: 53
protocol: TCP
---
apiVersion: v1
kind: Service
metadata:
name: bind-master
namespace: dns
spec:
type: ClusterIP
selector:
app: bind-master
ports:
- name: dns-udp
port: 53
protocol: UDP
- name: dns-tcp
port: 53
protocol: TCP