orchard/internal/controller
Fedor Korotkov cdf5c5eb00
Simplified bootstrapping of a cluster (#40)
* Simplified bootstrapping of a cluster

Introduced a new convention about a pre-defined `bootstrap-admin` account for `orchard controller run`. Providing `ORCHARD_BOOTSTRAP_ADMIN_TOKEN` will auto-create such user for easier configuration. `bootstrap-admin` can be used for creating other service accounts on the first run and after that can be disposed.

Also change `orchard worker run` to expect controller URL as the only parameter and a bootstrap token passed via an argument instead of using a context that might not be created.

* Missing error check
2023-03-22 23:43:37 +04:00
..
notifier Refactorings for simplify readability (#35) 2023-03-17 06:11:28 -04:00
proxy Refactorings for simplify readability (#35) 2023-03-17 06:11:28 -04:00
store Events Entity (#28) 2023-03-13 08:04:17 -04:00
api.go Consolidate controller bootstrap login in `run` command (#38) 2023-03-21 15:36:55 -04:00
api_service_accounts.go Better state syncing and other improvements (#24) 2023-03-01 11:42:16 -05:00
api_vms.go Support `startup`/`shutdown` scripts (#33) 2023-03-14 22:15:54 +04:00
api_vms_portforward.go Refactorings for simplify readability (#35) 2023-03-17 06:11:28 -04:00
api_workers.go Better state syncing and other improvements (#24) 2023-03-01 11:42:16 -05:00
controller.go Simplified bootstrapping of a cluster (#40) 2023-03-22 23:43:37 +04:00
datadir.go Consolidate controller bootstrap login in `run` command (#38) 2023-03-21 15:36:55 -04:00
option.go Introduce service accounts and bootstrap tokens (#22) 2023-02-21 11:34:12 -05:00
rpc.go Refactorings for simplify readability (#35) 2023-03-17 06:11:28 -04:00
scheduler.go Refactorings for simplify readability (#35) 2023-03-17 06:11:28 -04:00