mirror of https://github.com/kubernetes/kops.git
fix(addons/coredns.addons.k8s.io) Workaround to stop CoreDNS crashing on 1.3.1 version
This commit is contained in:
parent
b7c25f9a98
commit
95d6823033
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue