Browse Source

Missing root-ca-file parameter for proper service account support

Change-Id: I8d581b1fbffdb4b8bc64457da6faae6d45dfc594
Closes-Bug: 1666599
Mathieu Velten 2 years ago
parent
commit
1e07c37d1f

+ 1
- 1
magnum/drivers/common/templates/kubernetes/fragments/configure-kubernetes-master.sh View File

@@ -47,7 +47,7 @@ _EOC_
47 47
 # Add controller manager args
48 48
 KUBE_CONTROLLER_MANAGER_ARGS=""
49 49
 if [ -n "${ADMISSION_CONTROL_LIST}" ] && [ "${TLS_DISABLED}" == "False" ]; then
50
-    KUBE_CONTROLLER_MANAGER_ARGS="--service-account-private-key-file=/srv/kubernetes/server.key"
50
+    KUBE_CONTROLLER_MANAGER_ARGS="--service-account-private-key-file=/srv/kubernetes/server.key --root-ca-file=/srv/kubernetes/ca.crt"
51 51
 fi
52 52
 sed -i '
53 53
     /^KUBELET_ADDRESSES=/ s/=.*/="--machines='""'"/

Loading…
Cancel
Save