Commit Graph

184 Commits

Author SHA1 Message Date
5138ed7c6a Attempt to delete socket file before listening on the path 2024-09-04 19:44:58 +02:00
4f6a89ced0 Roadmap has been moved to micropelago.net 2024-09-01 12:20:37 +02:00
39e12f6ebd disallow -h and --help as flags in sub-commands 2024-07-22 16:37:22 +02:00
d31be8455b Pluralize 'host(s)' subcommands 2024-07-22 15:52:51 +02:00
ca62a37692 Fix rendering of text flag defaults 2024-07-22 10:42:25 +02:00
af69f1cfba Fix panic when starting up daemon with existing bootstrap 2024-07-21 17:20:48 +02:00
1ea16d80e4 Require host in garage for nebula create-cert command 2024-07-21 17:12:35 +02:00
ee30199c4c Automatically choose IP for new hosts 2024-07-21 17:10:28 +02:00
1411370b0e Write new host to garage as part of CreateHost 2024-07-20 12:36:21 +02:00
c94f8e3475 Move creation of children into daemon initialize method 2024-07-20 11:14:59 +02:00
7aa11ebe29 Only restart sub-processes which need restarting on bootstrap changes 2024-07-20 10:42:26 +02:00
bc9a2b62ef Upgrade pmux to latest 2024-07-19 17:06:12 +02:00
e657061482 Set permission bits on unix socket, so it's group read/writable 2024-07-16 17:30:36 +02:00
3980dc6083 Write files to runtime dir with write permissions, so they can be overwritten by the restartLoop 2024-07-14 15:51:04 +02:00
691727fe99 Fix arch package cross-compiling 2024-07-14 15:26:34 +02:00
5de93e3711 Add back the ability to specify IP for nebula create-cert 2024-07-14 14:43:17 +02:00
0f42d9367c Fix nebula create-cert error message 2024-07-14 14:28:01 +02:00
6fff1dfaeb Default HTTP socket to the tmp directory 2024-07-14 14:20:45 +02:00
8dd6768786 Fixes for releasing 2024-07-14 13:56:43 +02:00
67d17efde0 Allow including CA signing key with JoiningBootstrap, and update docs 2024-07-14 13:33:29 +02:00
d2710db8f1 State CA signing key in secrets store, eliminate admin bundle 2024-07-14 13:11:18 +02:00
9d5c8ea4db Use secrets store for global garage bucket creds 2024-07-14 12:19:39 +02:00
86abdb6ae1 Propagate garage RPC secret with created host bootstrap 2024-07-14 11:58:39 +02:00
56f796e3fb Implement basic secrets architecture, use it for garage RPC secret 2024-07-13 17:42:41 +02:00
b5059be7fa Move create-bootstrap logic into daemon, rename to hosts create 2024-07-13 16:31:52 +02:00
cb8fef38c4 Move create-nebula-cert into nebula create-cert, move most logic into daemon 2024-07-13 16:08:13 +02:00
cc121f0752 Move RemoveHost into daemon 2024-07-12 17:05:39 +02:00
778db848c6 Fix daemon EnvVar dirs not being created on startup 2024-07-12 16:35:32 +02:00
c5e919dc86 Remove runtime dir locking code 2024-07-12 16:13:44 +02:00
7ca8ff3467 Fetch nebula CAPublicCredentials from daemon 2024-07-12 16:11:42 +02:00
30c8ca332a Fetch GarageClientParams from daemon 2024-07-12 16:03:37 +02:00
736b23429c Do proper type-based validation or hostnames and ipnets 2024-07-12 15:31:43 +02:00
1ee396c976 Use RPC for create-bootstrap 2024-07-09 15:14:29 +02:00
279c79a9f1 Replace admin create-network with network create over RPC 2024-07-09 11:43:17 +02:00
f9d033b89f Implement Daemon.CreateNetwork, but it's not yet used or tested 2024-07-07 20:01:10 +02:00
ce5df164e1 Update documentation 2024-07-07 13:49:11 +02:00
7d8b274445 Implement JoinNetwork RPC method, and accompanying sub-command 2024-07-07 12:44:49 +02:00
81368821b7 Refactor Daemon into Children and DaemonRestarter into Daemon 2024-07-06 15:36:48 +02:00
179059fd3d Rename ISLE_SOCKET_PATH and refactor how it's loaded a bit 2024-07-06 14:26:06 +02:00
05e91cd657 Move daemon restarting logic into daemon package 2024-06-24 18:55:36 +02:00
c808fa81b9 Move some environment variables into daemon package 2024-06-24 14:45:57 +02:00
c3609252a5 Implement RPC socket and use it to list hosts 2024-06-23 14:37:10 +02:00
47e53dffb7 Switch to using latest mediocre-go-lib 2024-06-22 17:49:56 +02:00
4664ec4a70 Implement jsonrpc2 package, intended for use over the daemon socket 2024-06-22 17:37:15 +02:00
4e5d3b28ab Move some Bootstrap methods onto Daemon 2024-06-17 22:15:28 +02:00
a8893e4fc6 Move daemon sub-process logic into daemon package 2024-06-17 21:06:57 +02:00
aa1a8ea806 Implement archlinux pkg build as part of release 2024-06-17 17:20:34 +02:00
8a1c8d2ed6 Use XDG_STATE_HOME rather than XDG_DATA_HOME for storing bootstrap 2024-06-17 17:20:26 +02:00
c645a8c767 Refactor how signing/encryption keys are typed and (un)marshaled 2024-06-15 23:02:24 +02:00
65fa208a34 Move garage admin API calls into garage package 2024-06-12 10:55:55 +02:00