Compare commits
2 commits
be0d734ca9
...
b9814b70b6
Author | SHA1 | Date | |
---|---|---|---|
b9814b70b6 | |||
6133b4b77a |
1 changed files with 8 additions and 0 deletions
|
@ -97,6 +97,8 @@ spec:
|
||||||
labels:
|
labels:
|
||||||
app: bind-master
|
app: bind-master
|
||||||
spec:
|
spec:
|
||||||
|
securityContext:
|
||||||
|
fsGroup: 999
|
||||||
containers:
|
containers:
|
||||||
- name: bind-master
|
- name: bind-master
|
||||||
image: internetsystemsconsortium/bind9:9.18
|
image: internetsystemsconsortium/bind9:9.18
|
||||||
|
@ -116,6 +118,8 @@ spec:
|
||||||
- name: dns-secrets
|
- name: dns-secrets
|
||||||
mountPath: /etc/bind/externaldns-key.conf
|
mountPath: /etc/bind/externaldns-key.conf
|
||||||
subPath: externaldns-key.conf
|
subPath: externaldns-key.conf
|
||||||
|
- name: bind-cache
|
||||||
|
mountPath: /var/cache/bind
|
||||||
volumes:
|
volumes:
|
||||||
- name: dns-secrets
|
- name: dns-secrets
|
||||||
secret:
|
secret:
|
||||||
|
@ -123,6 +127,8 @@ spec:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: bind-master-config
|
name: bind-master-config
|
||||||
|
- name: bind-cache
|
||||||
|
emptyDir: {}
|
||||||
---
|
---
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: DaemonSet
|
kind: DaemonSet
|
||||||
|
@ -140,6 +146,8 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
dnsPolicy: ClusterFirstWithHostNet
|
dnsPolicy: ClusterFirstWithHostNet
|
||||||
|
securityContext:
|
||||||
|
fsGroup: 999
|
||||||
containers:
|
containers:
|
||||||
- name: bind9
|
- name: bind9
|
||||||
image: internetsystemsconsortium/bind9:9.18
|
image: internetsystemsconsortium/bind9:9.18
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue