1
0
mirror of https://github.com/ubuntu/microk8s.git synced 2021-05-23 02:23:41 +03:00

Remove unused certs

This commit is contained in:
Konstantinos
2020-05-29 08:29:00 +03:00
committed by Konstantinos Tsakalozos
parent 2b24e6feb4
commit 0ebb27bd0c
2 changed files with 0 additions and 8 deletions

View File

@@ -568,11 +568,7 @@ def join_node_dqlite():
return jsonify(ca=get_cert("ca.crt"),
ca_key=get_cert("ca.key"),
server_cert=get_cert("server.crt"),
server_cert_key=get_cert("server.key"),
service_account_key=get_cert("serviceaccount.key"),
proxy_cert=get_cert("front-proxy-client.crt"),
proxy_cert_key=get_cert("front-proxy-client.key"),
cluster_cert=cluster_cert,
cluster_key=cluster_key,
voters=voters,

View File

@@ -708,11 +708,7 @@ def join_dqlite(connection_parts):
store_cert("ca.crt", info["ca"])
store_cert("ca.key", info["ca_key"])
store_cert("server.crt", info["server_cert"])
store_cert("server.key", info["server_cert_key"])
store_cert("serviceaccount.key", info["service_account_key"])
store_cert("front-proxy-client.crt", info["proxy_cert"])
store_cert("front-proxy-client.key", info["proxy_cert_key"])
# triplets of [username in known_tokens.csv, username in kubeconfig, kubeconfig filename name]
for component in [("kube-proxy", "kubeproxy", "proxy.config"),
("kubelet", "kubelet", "kubelet.config"),