Commit graph

2657 commits

Author SHA1 Message Date
afeiszli
6a90cd803a publishing port changes 2022-04-25 11:36:08 -04:00
afeiszli
5f303cb50a fixing localport issues 2022-04-25 11:34:55 -04:00
afeiszli
ccc0ed851d adding local listen port 2022-04-25 11:34:32 -04:00
0xdcarns
773ad9b753 added initial notification to clients on server startup 2022-04-25 11:12:49 -04:00
Matthew R. Kasun
d626cf0e9b remove write and return error 2022-04-25 11:11:44 -04:00
Matthew R. Kasun
38309aab20 remove cfg.Registered 2022-04-25 11:07:21 -04:00
Matthew R. Kasun
f5aa1d1e62 reorder register/join 2022-04-25 10:38:29 -04:00
dcarns
0bebda718e
Merge pull request #1027 from gravitl/feature_v0.13.0_grpc
certificate cleanup
2022-04-25 08:53:13 -04:00
Matthew R. Kasun
a8b1d48e02 more certificate cleanup 2022-04-25 06:38:20 -04:00
Matthew R. Kasun
8f8272aad7 certificate cleanup 2022-04-25 06:33:06 -04:00
dcarns
ef295885b5
Merge pull request #1025 from gravitl/feature_v0.13.0_grpc
Feature v0.13.0 grpc
2022-04-22 13:03:25 -04:00
dcarns
5a1d03d275
Merge pull request #1024 from gravitl/feature_v0.13.0_dockerfiles
Feature v0.13.0 dockerfiles
2022-04-22 09:13:43 -04:00
dcarns
3bdceff8c1
Merge pull request #1023 from gravitl/workflows
update test workflow to go1.18
2022-04-22 09:12:20 -04:00
Matthew R. Kasun
81f118bc13 fix yaml 2022-04-22 06:54:17 -04:00
Matthew R. Kasun
3a3cd83e85 speedup docker builds 2022-04-22 06:51:09 -04:00
Matthew R. Kasun
747d6bc692 remove comms network leftovers
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-22 05:21:35 -04:00
Matthew R. Kasun
38d3691ee0 update test workflow to go1.18 2022-04-22 04:44:15 -04:00
Matthew R. Kasun
e1b590d43f another attempt at fixing logging 2022-04-21 17:48:36 -04:00
Matthew R. Kasun
799f7f040c fix logging vebosity by deleting more comms functions 2022-04-21 16:35:19 -04:00
Matthew R. Kasun
5c48b5e474 logging vebosity 2022-04-21 16:25:51 -04:00
Matthew R. Kasun
fa29b09aab permit setting of verbosity from config
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-21 16:18:27 -04:00
Matthew R. Kasun
7152f6ccd4 remove references to grpc/comms net 2022-04-21 15:53:44 -04:00
Matthew R. Kasun
886ec31553 remove grpc 2022-04-21 15:04:44 -04:00
Matthew R. Kasun
725037b794 send peer updates to all nodes including updated node 2022-04-21 14:32:12 -04:00
Matthew R. Kasun
33746a7bf6 eliminate superfluous response.WriteHeader call 2022-04-21 14:22:34 -04:00
Matthew R. Kasun
d319501fbf add logic from grpc CreateNode to api createNode
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-20 16:32:51 -04:00
Matthew R. Kasun
955e0e544c join as api call
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-20 15:46:19 -04:00
Matthew R. Kasun
12dfc5f820 refactor leave to use API
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-20 15:46:19 -04:00
Matthew R. Kasun
b7a18eac1f refactor pull to use api
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-20 15:46:19 -04:00
Matthew R. Kasun
34cac9ced0 allow nodes to authorize for certain controller/node endpoints 2022-04-20 15:46:19 -04:00
Matthew R Kasun
a3f44f152b
Merge pull request #1016 from gravitl/feature_v0.13.0_mq_register
Feature v0.13.0 mq register
2022-04-20 09:33:33 -04:00
Matthew R. Kasun
adfa5236f8 review comments addressed
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-20 09:26:23 -04:00
Matthew R. Kasun
b47c72ead2 use /root/certs as bind mount 2022-04-19 13:10:39 -04:00
Matthew R. Kasun
ec51fd2be1 update compose files to work with cert generation by netmaker 2022-04-19 10:26:50 -04:00
Matthew R. Kasun
a340cd5c24 fix server startup for key/certs 2022-04-19 10:14:02 -04:00
Matthew R. Kasun
9eddb971cc fix logic for key/cert gen on start
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-19 07:42:28 -04:00
Matthew R. Kasun
31b3dfec14 remove openssl from nm-quick
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-18 18:26:42 -04:00
Matthew R. Kasun
2b1f20e94b changes from code review
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-18 18:21:55 -04:00
Matthew R. Kasun
924403d5b4 ncutils.GetNetclientServerPath
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-18 15:30:59 -04:00
Matthew R. Kasun
652d8a1018 allow anonymous access to mq but require cert
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-18 14:04:15 -04:00
Matthew R. Kasun
41333301e6 docker related updates
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-18 13:50:30 -04:00
Matthew R. Kasun
1cbbd52e7d fixed comment
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-18 09:47:01 -04:00
Matthew R. Kasun
94b89dfff1 Merge branch 'feature_v0.13.0_mq_cleanup' into feature_v0.13.0_mq_register 2022-04-18 09:27:51 -04:00
Matthew R. Kasun
d312bf6636 return certs in correct order
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-04-18 09:22:11 -04:00
Matthew R. Kasun
d177d9507e don't start comms net 2022-04-18 07:28:13 -04:00
Matthew R. Kasun
1adee64e21 use cert request public key 2022-04-17 13:29:19 -04:00
Matthew R. Kasun
f8fe382c02 cleanup and comments 2022-04-16 16:43:10 -04:00
Matthew R. Kasun
de7ca68c23 join after register 2022-04-16 15:35:05 -04:00
Matthew R. Kasun
eae74e3430 gen certs with go rather than openssl 2022-04-16 08:37:55 -04:00
Matthew R. Kasun
a2805ddc80 register/cert gen 2022-04-16 08:27:22 -04:00