Merge pull request #44945 from ktsakalozos/bug/dns-fix

Automatic merge from submit-queue

Send dns details only after cdk-addons are configured

**What this PR does / why we need it**: This is a bugfix on the deployment of Kubernetes via Juju. See issue below.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #40386 and
https://github.com/juju-solutions/bundle-canonical-kubernetes/issues/262

**Special notes for your reviewer**:

**Release note**:

```
Fix KubeDNS issue in Juju deployments. 
```
pull/6/head
Kubernetes Submit Queue 2017-04-26 10:10:18 -07:00 committed by GitHub
commit b5caa6beb3
1 changed files with 1 additions and 0 deletions

View File

@ -297,6 +297,7 @@ def start_master(etcd):
@when('kube-control.connected')
@when('cdk-addons.configured')
def send_cluster_dns_detail(kube_control):
''' Send cluster DNS info '''
# Note that the DNS server doesn't necessarily exist at this point. We know