This repository has been archived by the owner on Sep 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 294
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Persist encrypted credentials under the
credentials/
directory
so that we can prevent unnecessary node replacement when `kube-aws update` run. Encrypted credentials are named with the suffix `.enc` hence `*-key.pem.enc` for keys, `*.pem.env` for certs, and `ca.pem.enc` for ca cert. If you've removed one of more `*.enc` files, `kube-aws (validate|up)` automatically re-generate not only removed ones but "all" the `*.enc` files by encrypting pem files. The whole file tree representing kube-aws' state after `kube-aws init` now look like: ``` $ tree e2e/assets/ e2e/assets/ └── kubeawstest2 ├── cluster.yaml ├── credentials │ ├── admin-key.pem │ ├── admin-key.pem.enc │ ├── admin.pem │ ├── admin.pem.enc │ ├── apiserver-key.pem │ ├── apiserver-key.pem.enc │ ├── apiserver.pem │ ├── apiserver.pem.enc │ ├── ca-key.pem │ ├── ca-key.pem.enc │ ├── ca.pem │ ├── ca.pem.enc │ ├── etcd-client-key.pem │ ├── etcd-client-key.pem.enc │ ├── etcd-client.pem │ ├── etcd-client.pem.enc │ ├── etcd-key.pem │ ├── etcd-key.pem.enc │ ├── etcd.pem │ ├── etcd.pem.enc │ ├── worker-key.pem │ ├── worker-key.pem.enc │ ├── worker.pem │ └── worker.pem.enc ├── kubeconfig ├── stack-template.json └── userdata ├── cloud-config-controller ├── cloud-config-etcd └── cloud-config-worker 3 directories, 30 files ``` fixes #107
- Loading branch information
Showing
7 changed files
with
333 additions
and
56 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
Oops, something went wrong.