Fixes for CoreDNS update

- Update the CoreDNS image to 1.0.5
- Update chart overrides
- Add UDP service to ingress to forward to coredns

Change-Id: I6595b49188b9c4d615146bcdf774dc5a14afef26
This commit is contained in:
Scott Hussey 2018-02-14 19:48:49 -06:00
parent dab5005285
commit 8bac372e04
3 changed files with 6 additions and 24 deletions

View File

@ -13,7 +13,7 @@ data:
tar_path: kubernetes/node/bin/kubelet
mode: 0555
images:
haproxy: haproxy:1.8.3
haproxy: ${HAPROXY_IMAGE}
helm:
helm: lachlanevenson/k8s-helm:v2.7.2
kubernetes:

View File

@ -347,25 +347,6 @@ metadata:
layeringDefinition:
abstract: false
layer: site
substitutions:
- src:
schema: deckhand/CertificateAuthority/v1
name: kubernetes
path: .
dest:
path: '.values.tls.ca'
- src:
schema: deckhand/Certificate/v1
name: coredns
path: .
dest:
path: '.values.tls.cert'
- src:
schema: deckhand/CertificateKey/v1
name: coredns
path: .
dest:
path: '.values.tls.key'
data:
chart_name: coredns
release: coredns
@ -374,10 +355,6 @@ data:
upgrade:
no_hooks: true
values:
coredns:
upstream_nameservers:
- 8.8.8.8
- 8.8.4.4
images:
tags:
coredns: ${KUBE_COREDNS_IMAGE}
@ -843,6 +820,10 @@ data:
pod:
replicas:
error_page: 2
conf:
services:
udp:
53: 'kube-system/coredns:53'
source:
type: git
location: https://github.com/openstack/openstack-helm

View File

@ -91,6 +91,7 @@ function init_env {
export KUBE_ANCHOR_IMAGE=${KUBE_ANCHOR_IMAGE:-"gcr.io/google_containers/hyperkube-amd64:v1.8.6"}
export KUBE_COREDNS_IMAGE=${KUBE_COREDNS_IMAGE:-"coredns/coredns:1.0.5"}
export KUBE_APISERVER_IMAGE=${KUBE_APISERVER_IMAGE:-"gcr.io/google_containers/hyperkube-amd64:v1.8.6"}
export HAPROXY_IMAGE=${HAPROXY_IMAGE:-"haproxy:1.8.3"}
export KUBE_CTLRMGR_IMAGE=${KUBE_CTLRMGR_IMAGE:-"gcr.io/google_containers/hyperkube-amd64:v1.8.6"}
export KUBE_SCHED_IMAGE=${KUBE_SCHED_IMAGE:-"gcr.io/google_containers/hyperkube-amd64:v1.8.6"}
export KUBECTL_IMAGE=${KUBECTL_IMAGE:-"gcr.io/google_containers/hyperkube-amd64:v1.8.6"}