This repository has been archived by the owner on Jan 11, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only generate certs not provided by the user (#1958)
* wip adding tls encryption to etcd communication * remove unwanted tab * fix etcd cert name * wip update args * rename etcd server cert * rename etcdServerPair * updated args * Use CSE to generate etcd certs * fix var replacement in apiserver.yaml * small fixes * WIP working for 1 master * add different certs per peer * fix peer cert and race condition * added certs for each peer and make peer certs arrays * peer array of certs and keys * remove duplicate line * only generate right number of peer certs * Use master_index to keep track of host * fix typo * Removing todo since CoreOS is broken * Prevent race condition in go routine * Make sure etcd certs generated before etcd restart * update etcd certs extended key usages * simplify array secret parameter encoding func * added etcdctl env variables * fix typo and wait for all go routines * typo fix * improve code readability * change client key access permissions * wip only generate certs not provided * add kubeconfig cert to verification * fix missing > 0 * fix logic with etcd certs * wip add tests * Simplified logic and added tests * wip only generate certs not provided * add kubeconfig cert to verification * fix missing > 0 * fix logic with etcd certs * wip add tests * Simplified logic and added tests * fix missed conflict
- Loading branch information
1 parent
5d3d4da
commit f5f1dbc
Showing
17 changed files
with
321 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.