mirror of https://github.com/kubernetes/kops.git
Merge pull request #7492 from grupozap/coredns_missing_dir_workaround
fix(addons/coredns.addons.k8s.io) Workaound to stop coredns crashing on 1.3.1 version
This commit is contained in:
commit
d90b75cf1b
|
@ -171,6 +171,9 @@ spec:
|
|||
memory: {{ KubeDNS.MemoryRequest }}
|
||||
args: [ "-conf", "/etc/coredns/Corefile" ]
|
||||
volumeMounts:
|
||||
# Workaround for 1.3.1 bug, can be removed after bumping to 1.4+. See: https://github.com/coredns/coredns/pull/2529
|
||||
- name: tmp
|
||||
mountPath: /tmp
|
||||
- name: config-volume
|
||||
mountPath: /etc/coredns
|
||||
readOnly: true
|
||||
|
@ -208,6 +211,9 @@ spec:
|
|||
scheme: HTTP
|
||||
dnsPolicy: Default
|
||||
volumes:
|
||||
# Workaround for 1.3.1 bug, can be removed after bumping to 1.4+. See: https://github.com/coredns/coredns/pull/2529
|
||||
- name: tmp
|
||||
emptyDir: {}
|
||||
- name: config-volume
|
||||
configMap:
|
||||
name: coredns
|
||||
|
|
|
@ -283,7 +283,7 @@ func (b *BootstrapChannelBuilder) buildAddons() *channelsapi.Addons {
|
|||
|
||||
{
|
||||
key := "coredns.addons.k8s.io"
|
||||
version := "1.3.0-kops.2"
|
||||
version := "1.3.1"
|
||||
|
||||
{
|
||||
location := key + "/k8s-1.12.yaml"
|
||||
|
|
Loading…
Reference in New Issue