indent update; initcontainer for root hints
This commit is contained in:
parent
f59f82e778
commit
398257eb6c
1 changed files with 47 additions and 32 deletions
|
@ -100,6 +100,17 @@ spec:
|
|||
spec:
|
||||
securityContext:
|
||||
fsGroup: 999
|
||||
initContainers:
|
||||
- name: fetch-root-hints
|
||||
image: curlimages/curl:latest
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
- >
|
||||
curl -o /hints/root.hints https://www.internic.net/domain/named.cache
|
||||
volumeMounts:
|
||||
- mountPath: /hints
|
||||
name: root-hints
|
||||
containers:
|
||||
- name: bind-master
|
||||
image: internetsystemsconsortium/bind9:9.18
|
||||
|
@ -123,6 +134,8 @@ spec:
|
|||
mountPath: /var/cache/bind
|
||||
- name: bind-rundir
|
||||
mountPath: /run/named
|
||||
- name: root-hints
|
||||
mountPath: /usr/share/dns
|
||||
volumes:
|
||||
- name: dns-secrets
|
||||
secret:
|
||||
|
@ -134,6 +147,8 @@ spec:
|
|||
emptyDir: {}
|
||||
- name: bind-rundir
|
||||
emptyDir: {}
|
||||
- name: root-hints
|
||||
emptyDir: {}
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: DaemonSet
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue