From 8cbdf73ebaf663cddba955cea04b0237db9ad460 Mon Sep 17 00:00:00 2001 From: "teuto.net Netzdienste GmbH" Date: Fri, 1 Apr 2016 09:34:28 +0200 Subject: [PATCH] Changed path to hosts ssl certs from /usr/share/ca-certificates to /etc/ssl/certs/ which fixes https problems in kube-controller-manager and kube-apiserver (#189) caused by the lack of certificates on debian and redhat based systems. --- .../master/templates/manifests/kube-apiserver.manifest.j2 | 2 +- .../templates/manifests/kube-controller-manager.manifest.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/kubernetes/master/templates/manifests/kube-apiserver.manifest.j2 b/roles/kubernetes/master/templates/manifests/kube-apiserver.manifest.j2 index 1a0b6a2cb..707915047 100644 --- a/roles/kubernetes/master/templates/manifests/kube-apiserver.manifest.j2 +++ b/roles/kubernetes/master/templates/manifests/kube-apiserver.manifest.j2 @@ -48,5 +48,5 @@ spec: path: {{ kube_config_dir }} name: kubernetes-config - hostPath: - path: /usr/share/ca-certificates + path: /etc/ssl/certs/ name: ssl-certs-host diff --git a/roles/kubernetes/master/templates/manifests/kube-controller-manager.manifest.j2 b/roles/kubernetes/master/templates/manifests/kube-controller-manager.manifest.j2 index 2897ad774..3ae4c18fc 100644 --- a/roles/kubernetes/master/templates/manifests/kube-controller-manager.manifest.j2 +++ b/roles/kubernetes/master/templates/manifests/kube-controller-manager.manifest.j2 @@ -44,7 +44,7 @@ spec: path: {{ kube_cert_dir }} name: ssl-certs-kubernetes - hostPath: - path: /usr/share/ca-certificates + path: /etc/ssl/certs/ name: ssl-certs-host {% if cloud_provider is defined and cloud_provider == "openstack" %} - hostPath: