Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: add nats auth #41

Draft
wants to merge 130 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
130 commits
Select commit Hold shift + click to select a range
e64e466
auth update
JettTech Dec 17, 2024
6b6dfba
Merge branch 'nats-crates' into nats-proposal-auth
JettTech Dec 18, 2024
ab30d6b
Merge branch 'nats-crates' into nats-proposal-auth
JettTech Dec 18, 2024
dee1a41
Merge branch 'nats-crates' into nats-proposal-auth
JettTech Dec 18, 2024
271432b
add client auth
JettTech Dec 18, 2024
23f981d
remove node type name alias
JettTech Dec 18, 2024
af3736a
origin merge db updates
JettTech Dec 18, 2024
e8ad6e9
add auth structure
JettTech Dec 19, 2024
3280be6
merge updated base
JettTech Dec 19, 2024
1f89b6b
Merge branch 'nats-crates' into nats-proposal-auth
JettTech Jan 7, 2025
9b19e5a
restore db-url helper
JettTech Jan 7, 2025
746657b
Merge branch 'nats-crates' into nats-proposal-auth
JettTech Jan 15, 2025
cbaaac3
update orchestrator workload to latest pattern
JettTech Jan 15, 2025
4e7c097
Merge branch 'nats-crates' into nats-proposal-auth
JettTech Jan 15, 2025
6f18fd1
adjust auth to updated service pattern
JettTech Jan 15, 2025
9bc4b32
clean up
JettTech Jan 15, 2025
ebdf3bf
restore util file
JettTech Jan 15, 2025
8137839
lint
JettTech Jan 15, 2025
cf192f1
Merge branch 'nats-crates' into nats-proposal-auth
JettTech Jan 15, 2025
5e90d8f
clean-up dirs
JettTech Jan 15, 2025
b065def
fix types
JettTech Jan 16, 2025
04dc7b2
Merge branch 'nats-crates' into nats-proposal-auth
JettTech Jan 16, 2025
caee259
Merge branch 'main' into nats-proposal-auth
JettTech Jan 17, 2025
2dd2513
Merge branch 'main' into nats-proposal-auth
JettTech Jan 17, 2025
a99108c
Merge branch 'nats-proposal-auth' of github.com:Holo-Host/holo-host i…
JettTech Jan 17, 2025
5884150
update names
JettTech Jan 18, 2025
0ecd15a
auth service updates
JettTech Jan 20, 2025
74c7f06
clean inline comments
JettTech Jan 20, 2025
3f9b438
standarize service name ref
JettTech Jan 20, 2025
287cd7e
temporary(flake): switch to blueprint fork
steveej Jan 13, 2025
f79b431
feat(nix/lib): wrap runNixOSTest with defaults
steveej Jan 14, 2025
829b064
feat(nix/packages/rust-workspace): expose rust binaries
steveej Jan 13, 2025
f609b56
WIP: feat(holo-agent): add nixos module with integration test
steveej Jan 13, 2025
9450906
FIXME: this commit needs splitting up
steveej Jan 15, 2025
aa3d0f7
fix(nix/modules/host-agent): wait for network connectivity
steveej Jan 17, 2025
fd8cef2
holo-host-agent: use wantedBy and increase logging
steveej Jan 17, 2025
7da629e
feat(host_agent): add leafnode creds CLI arg and improve handling con…
steveej Jan 20, 2025
06c91c6
fix(host-agent): continously try to connect to spawned NATS leaf server
steveej Jan 20, 2025
394ad5b
separate out orchetrator client into own feature pr
JettTech Jan 20, 2025
d1f21bc
chore: nix fmt
steveej Jan 20, 2025
a03d0de
update naming
JettTech Jan 20, 2025
bd90760
Merge branch 'orchestrator-client' into nats-proposal-auth
JettTech Jan 20, 2025
7a012e7
clean up
JettTech Jan 20, 2025
4e72bfd
Merge branch 'orchestrator-client' into nats-proposal-auth
JettTech Jan 20, 2025
d8a5c97
clean auth api pattern
JettTech Jan 20, 2025
f63286f
tidy descriptions and typing
JettTech Jan 21, 2025
d9ef4d7
Merge branch 'holo-agent-service-module' into orchestrator-client
JettTech Jan 21, 2025
258f2ff
clean merge
JettTech Jan 21, 2025
683f41f
Merge branch 'orchestrator-client' into nats-proposal-auth
JettTech Jan 21, 2025
07f0c12
update hpos naming
JettTech Jan 21, 2025
0679beb
Merge branch 'orchestrator-client' into nats-proposal-auth
JettTech Jan 21, 2025
78b6938
clean up naming
JettTech Jan 21, 2025
5da647a
improve workload desc
JettTech Jan 21, 2025
f6373f4
Merge branch 'orchestrator-client' into nats-proposal-auth
JettTech Jan 21, 2025
2bc73c4
restore `WorkloadApiResult`
JettTech Jan 21, 2025
55057d0
Merge commit '2bc73c45fbe27d9578e516fd88d9269235644259' into nats-pro…
JettTech Jan 21, 2025
514960d
remove host env var
JettTech Jan 21, 2025
a0affdd
Merge branch 'orchestrator-client' into nats-proposal-auth
JettTech Jan 21, 2025
3a88a94
clean up env vars
JettTech Jan 21, 2025
9f43a01
auth updates
JettTech Jan 22, 2025
7c92729
temporary(flake): bump blueprint for upstreamed fixes
steveej Jan 13, 2025
d396a50
feat(nix/packages/rust-workspace): expose rust binaries
steveej Jan 13, 2025
5e49235
feat(nix): introduce holo-host-agent module with integration test
steveej Jan 22, 2025
7f5dc38
feat(nix/holo-nats-server): make port and leafnodeport configurable
steveej Jan 22, 2025
0a7a572
host-agent: improve resilience and configurability
steveej Jan 22, 2025
40e925f
feat(holo-nats-server): use lib.mkDefault for defaults
steveej Jan 23, 2025
6be9743
feat(nix/modules/nixos): expose blueprint's publisherArgs
steveej Jan 23, 2025
adde00c
feat(niox module holo-nats-server): add openFirewall cfg and use corr…
steveej Jan 23, 2025
7a07648
Merge commit '6be974318384eef17308724ef0f9c3af7cee1d80' into orchestr…
JettTech Jan 24, 2025
2614ca8
Update flake.lock
JettTech Jan 24, 2025
7fa741e
feat(nixos module holo-nats-server): configure TLS websockets via caddy
steveej Jan 23, 2025
95fc6a1
feat,refactor(host-agent): TLS websocket connection, CLI args, config…
steveej Jan 24, 2025
0c29820
feat(nixos module holo-host-agent): add hub TLS options and add extra…
steveej Jan 24, 2025
e0cc2c4
test(holo-agent-integration-nixos): adapt to TLS via websocket
steveej Jan 24, 2025
1ffaa47
feat(host-agent/cli): require command
steveej Jan 24, 2025
047af97
feat(host-agent): close NATS client connection before exiting the pro…
steveej Jan 24, 2025
47559da
Merge branch 'holo-agent-service-module' of github.com:Holo-Host/holo…
JettTech Jan 24, 2025
7d8e58d
Merge branch 'holo-agent-service-module' into orchestrator-client
JettTech Jan 24, 2025
2a175b7
fix lock
JettTech Jan 24, 2025
afd694b
update flake
JettTech Jan 24, 2025
a5cf07a
Merge branch 'main' into orchestrator-client
JettTech Jan 27, 2025
c040a20
clean
JettTech Jan 27, 2025
a3fcea7
Merge branch 'orchestrator-client' into nats-proposal-auth
JettTech Jan 27, 2025
57060c3
auth update
JettTech Feb 3, 2025
28491f4
auth clean-up
JettTech Feb 5, 2025
bf93fd9
rust fmt
JettTech Feb 5, 2025
933e0f4
Merge branch 'nats-proposal-auth' of github.com:Holo-Host/holo-host i…
JettTech Feb 5, 2025
0ed68c9
lint
JettTech Feb 5, 2025
e9203ab
tidy env vars
JettTech Feb 5, 2025
fce6d28
use env vars for callut auth keys
JettTech Feb 5, 2025
45b30d0
update link paths
JettTech Feb 5, 2025
74dd850
test
JettTech Feb 6, 2025
6e908d8
auth service without jetstream
JettTech Feb 10, 2025
c44a448
nats updates
JettTech Feb 10, 2025
71bd2d1
Merge branch 'nats-proposal-auth' of github.com:Holo-Host/holo-host i…
JettTech Feb 10, 2025
622b604
decode sig
JettTech Feb 10, 2025
a49aaaf
clean key refs
JettTech Feb 10, 2025
e037f2f
holo agent key clean-up
JettTech Feb 10, 2025
e82b31b
fmt
JettTech Feb 11, 2025
5fecd3e
clean up comments and logs
JettTech Feb 11, 2025
c54a117
update docs
JettTech Feb 11, 2025
a1e9c09
remove print logs
JettTech Feb 11, 2025
4a7e461
Merge branch 'nats-proposal-auth' of github.com:Holo-Host/holo-host i…
JettTech Feb 11, 2025
56ca922
update inbox naming
JettTech Feb 11, 2025
da58996
auth clean up
JettTech Feb 11, 2025
03386b2
fmt
JettTech Feb 11, 2025
0f714ed
clean-up
JettTech Feb 18, 2025
fd4df06
tidy
JettTech Feb 18, 2025
2f31e5e
Merge branch 'main' into orchestrator-client
JettTech Feb 19, 2025
68b8cd6
clean-up
JettTech Feb 19, 2025
88d976d
rename workload account, clean structure
JettTech Feb 19, 2025
4fa08cb
Merge branch 'orchestrator-client' into nats-proposal-auth
JettTech Feb 19, 2025
951ab20
Merge branch 'nats-proposal-auth' of github.com:Holo-Host/holo-host i…
JettTech Feb 20, 2025
d4b9edf
update README
JettTech Feb 21, 2025
2732083
refactor/util-libs (#73)
JettTech Feb 21, 2025
8800afb
update .gitignore
JettTech Feb 21, 2025
573a257
refactor workload service (#71)
JettTech Feb 21, 2025
7e07dbd
update .gitignore
JettTech Feb 21, 2025
5caac1f
refactor-client-dir (#69)
JettTech Feb 21, 2025
9611c88
Merge branch '130-refactor-util-libs' into 130-refactor-workload-service
JettTech Feb 21, 2025
371622a
Merge branch '130-refactor-workload-service' into 130-refactor-host-c…
JettTech Feb 21, 2025
f13d089
update .gitignore
JettTech Feb 21, 2025
92c0c53
Orchestrator Workload Client (#53)
JettTech Feb 21, 2025
a69a928
Merge branch '130-refactor-host-client' into 43-orchestrator-client
JettTech Feb 21, 2025
ffa16a5
restore 5 host test
JettTech Feb 21, 2025
a534e58
update host client log, update script
JettTech Feb 22, 2025
d5d494a
Merge branch '130-refactor-host-client' into 43-orchestrator-client
JettTech Feb 22, 2025
190b14f
Merge branch '43-orchestrator-client' into nats-proposal-auth
JettTech Feb 22, 2025
a67b49c
Merge branch 'main' into nats-proposal-auth
JettTech Feb 26, 2025
0d34e70
Merge branch 'main' into nats-proposal-auth
JettTech Feb 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ LOCAL_CREDS_PATH="<path/to/dir>"

# ORCHESTRATOR
MONGO_URI="mongodb://<host>:<port>"
ORCHESTRATOR_SIGNING_AUTH_NKEY_PATH="/.local/share/nats/nsc/local_creds/AUTH_ROOT_SK.nk"
ORCHESTRATOR_ROOT_AUTH_NKEY_PATH="/.local/share/nats/nsc/local_creds/AUTH_SK.nk"

# HOSTING AGENT
HOST_CREDS_FILE_PATH = "ops/admin.creds"
LEAF_SERVER_DEFAULT_LISTEN_PORT="4111"
LEAF_SERVER_USER = "test-user"
LEAF_SERVER_PW = "pw-123456789"
HOSTING_AGENT_HOST_NKEY_PATH="<path>/host.nk"
HOSTING_AGENT_SYS_NKEY_PATH="<path>/sys.nk"
HPOS_CONFIG_PATH="path/to/file.config";
DEVICE_SEED_DEFAULT_PASSWORD="device_pw_1234"
Loading