Merge pull request #65878 from Cynerva/gkk/fix-worker-sans
Automatic merge from submit-queue (batch tested with PRs 65839, 65878). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
juju: Fix kubernetes-worker certificate SANs on AWS
**What this PR does / why we need it**:
This fixes a problem with kubernetes-worker that prevents `kubectl logs` and `kubectl exec` from working when deployed on AWS.
Specifically, this adds hostname back into the certificate request's SANs so that kube-apiserver can talk to kubelet properly.
**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
https://github.com/juju-solutions/bundle-canonical-kubernetes/issues/606
**Release note**:
```release-note
NONE
```
Showing
Please
register
or
sign in
to comment