fix(addons/coredns.addons.k8s.io) Workaround to stop CoreDNS crashing on 1.3.1 version

This commit is contained in:
Pedro H. Spagiari 2019-08-30 13:43:05 -03:00 committed by GuyTempleton
parent b7c25f9a98
commit 95d6823033
No known key found for this signature in database
GPG Key ID: 1293A624D42B68E0
1 changed files with 4 additions and 0 deletions

View File

@ -129,6 +129,8 @@ spec:
memory: {{ KubeDNS.MemoryRequest }}
args: [ "-conf", "/etc/coredns/Corefile" ]
volumeMounts:
- name: tmp
mountPath: /tmp
- name: config-volume
mountPath: /etc/coredns
readOnly: true
@ -166,6 +168,8 @@ spec:
scheme: HTTP
dnsPolicy: Default
volumes:
- name: tmp
emptyDir: {}
- name: config-volume
configMap:
name: coredns