From 9938e26f20f860780e884bd2e4b3b39bf016a44e Mon Sep 17 00:00:00 2001 From: Dimitrios Karagiannis Date: Mon, 9 Oct 2017 14:24:04 +0100 Subject: [PATCH] set kube-controller-manager flag for service accounts --- resources/kube-controller-manager.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/kube-controller-manager.yaml b/resources/kube-controller-manager.yaml index fc4420b..5aaf199 100644 --- a/resources/kube-controller-manager.yaml +++ b/resources/kube-controller-manager.yaml @@ -14,6 +14,7 @@ spec: - controller-manager - --master=http://127.0.0.1:8080 - --leader-elect=true + - --use-service-account-credentials - --service-account-private-key-file=/etc/kubernetes/ssl/signing-key.pem - --root-ca-file=/etc/kubernetes/ssl/ca.pem ${cloud_provider == "" ? "" : "- --cloud-provider=${cloud_provider}"}