abhishek9686
fb40cd7d56
resolve merge conflicts
2024-08-20 16:51:22 +05:30
abhishek9686
916942e7cc
resolve merge conflicts
2024-08-20 16:49:27 +05:30
dependabot[bot]
4324efe2ea
Bump golang.org/x/oauth2 from 0.21.0 to 0.22.0 ( #3029 )
...
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2 ) from 0.21.0 to 0.22.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.21.0...v0.22.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-20 13:47:48 +05:30
dependabot[bot]
2a98f82463
Bump alpine from 3.20.0 to 3.20.2 ( #3010 )
...
Bumps alpine from 3.20.0 to 3.20.2.
---
updated-dependencies:
- dependency-name: alpine
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-20 13:47:29 +05:30
dependabot[bot]
053c75e281
Bump golang.org/x/crypto from 0.23.0 to 0.26.0 ( #3036 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.23.0 to 0.26.0.
- [Commits](https://github.com/golang/crypto/compare/v0.23.0...v0.26.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-20 13:46:40 +05:30
dependabot[bot]
b47510ca33
Bump peter-evans/create-pull-request from 5 to 6 ( #3052 )
...
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request ) from 5 to 6.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases )
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-20 13:46:06 +05:30
dependabot[bot]
285064c679
Bump github.com/posthog/posthog-go ( #3054 )
...
Bumps [github.com/posthog/posthog-go](https://github.com/posthog/posthog-go ) from 0.0.0-20211028072449-93c17c49e2b0 to 1.2.18.
- [Release notes](https://github.com/posthog/posthog-go/releases )
- [Changelog](https://github.com/PostHog/posthog-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/posthog/posthog-go/commits/v1.2.18 )
---
updated-dependencies:
- dependency-name: github.com/posthog/posthog-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-20 13:45:01 +05:30
dependabot[bot]
b700fea1ec
Bump github.com/eclipse/paho.mqtt.golang from 1.4.3 to 1.5.0 ( #3028 )
...
Bumps [github.com/eclipse/paho.mqtt.golang](https://github.com/eclipse/paho.mqtt.golang ) from 1.4.3 to 1.5.0.
- [Release notes](https://github.com/eclipse/paho.mqtt.golang/releases )
- [Commits](https://github.com/eclipse/paho.mqtt.golang/compare/v1.4.3...v1.5.0 )
---
updated-dependencies:
- dependency-name: github.com/eclipse/paho.mqtt.golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-20 13:44:37 +05:30
Abhishek K
2c3046de59
Merge pull request #3048 from gravitl/master
...
Master
2024-08-19 12:13:51 +05:30
Abhishek K
fe9f6df457
Merge pull request #3047 from gravitl/staticcheck-update
...
staticcheck pinned to v0.4.7
2024-08-19 12:13:19 +05:30
Sayan Mallick
4fd5250a7f
staticcheck pinned to v0.4.7
2024-08-19 12:01:35 +05:30
Abhishek K
5a561b3835
Net 1440 batchpeerupdate ( #3042 )
...
* NET-1440 scale test changes
* fix UT error and add error info
* load metric data into cacha in startup
* remove debug info for metric
* add server telemetry and hasSuperAdmin to cache
* fix user UT case
* update sqlite connection string for performance
* update check-in TS in cache only if cache enabled
* update metric data in cache only if cache enabled and write to DB once in stop
* update server status in mq topic
* add failover existed to server status update
* only send mq messsage when there is server status change
* batch peerUpdate
* code changes for scale for review
* update UT case
* update mq client check
* mq connection code change
* revert server status update changes
* revert batch peerUpdate
* remove server status update info
* batch peerUpdate
* code changes based on review and setupmqtt in keepalive
* set the mq message order to false for PIN
* remove setupmqtt in keepalive
* add peerUpdate batch size to config
* update batch peerUpdate
* recycle ip in node deletion
* update ip allocation logic
* remove ip addr cap
* remove ippool file
* update get extClient func
* remove ip from cache map when extClient is removed
* add batch peerUpdate switch
* set batch peerUpdate to true by default
---------
Co-authored-by: Max Ma <mayabin@gmail.com>
2024-08-16 15:35:43 +05:30
Abhishek K
22cd0ae446
Revert "Bump github.com/coreos/go-oidc/v3 from 3.9.0 to 3.11.0 ( #3002 )" ( #3041 )
...
This reverts commit 5fbe7cb58d
.
2024-08-16 10:59:36 +05:30
dependabot[bot]
5fbe7cb58d
Bump github.com/coreos/go-oidc/v3 from 3.9.0 to 3.11.0 ( #3002 )
...
Bumps [github.com/coreos/go-oidc/v3](https://github.com/coreos/go-oidc ) from 3.9.0 to 3.11.0.
- [Release notes](https://github.com/coreos/go-oidc/releases )
- [Commits](https://github.com/coreos/go-oidc/compare/v3.9.0...v3.11.0 )
---
updated-dependencies:
- dependency-name: github.com/coreos/go-oidc/v3
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-15 12:00:34 +05:30
Max Ma
46b8fd21c8
NET-1440: scale test changes ( #3014 )
...
* NET-1440 scale test changes
* fix UT error and add error info
* load metric data into cacha in startup
* remove debug info for metric
* add server telemetry and hasSuperAdmin to cache
* fix user UT case
* update sqlite connection string for performance
* update check-in TS in cache only if cache enabled
* update metric data in cache only if cache enabled and write to DB once in stop
* update server status in mq topic
* add failover existed to server status update
* only send mq messsage when there is server status change
* batch peerUpdate
* code changes for scale for review
* update UT case
* update mq client check
* mq connection code change
* revert server status update changes
* revert batch peerUpdate
* remove server status update info
* code changes based on review and setupmqtt in keepalive
* set the mq message order to false for PIN
* remove setupmqtt in keepalive
* recycle ip in node deletion
* update ip allocation logic
* remove ip addr cap
* remove ippool file
* update get extClient func
* remove ip from cache map when extClient is removed
2024-08-15 11:59:00 +05:30
Sayan Mallick
c551c487ca
New Docs ( #3034 )
...
* New Docs
CSS update and Dockerfile to include docs folder
flash of unrendered text fix
markdown docs
ignore docs/docs.go
improving the docs generation
github actions for docs generation
go runner version fix
updated docs.yml
update repo action updated
updated actions and dns docs
dns complete
More docs update
Complete docs and updated workflow
Update documentation Tue Aug 6 11:17:42 UTC 2024
Update documentation Thu Aug 8 12:26:57 UTC 2024
clean up
clean up
Dockerfile clean up
Updated workflow
Updated workflow
Update docs.yml
Update docs.yml
* requested changes
* changed ingress gateway to remote access gateway
2024-08-15 11:55:01 +05:30
Sayan Mallick
7786c106f7
Updated Dockerfile-go-builder to golang:1.20.13-alpine3.19 ( #3017 )
...
Co-authored-by: Abhishek K <32607604+abhishek9686@users.noreply.github.com>
2024-07-25 10:20:43 +05:30
Christopher Blaha
66dbaf1bc2
update develop to v0.25.0 ( #3009 )
...
* update develop to v0.24.4
* update develop to v0.25.0
2024-07-25 10:19:31 +05:30
Abhishek K
3a99c397c1
Merge pull request #3008 from gravitl/release-v0.24.3
...
v0.24.3
2024-07-22 09:18:18 +05:30
Abhishek K
0807bd0dd0
v0.24.3 release notes ( #3007 )
2024-07-18 22:11:14 +05:30
Max Ma
3dce62a7b6
add peerUpdate when calling hostupdate api ( #3005 )
2024-07-17 13:07:07 +05:30
Max Ma
023956d361
NET-1288:Fix egress node id issue ( #3004 )
...
* add egress range check with netmaker network address
* add egerssrange check for delete egressGW and extClientGW
* remove egress range check for delete
* fix egress nodeid issue
2024-07-10 15:03:25 +05:30
Max Ma
65faf73fe9
NET-1226: Scalability Improvements ( #2987 )
...
* add api to check if failover node existed
* remove 5 minute peerUpdate
* update peerUpdate to trigger pull
* update Action name to SignalPull
* revert the peerUpdate from SignalPull
* fix getfailover error issue
* rm acls creation for on-prem emqx
* remove use of acls
* add additional broker status field on status api
* NET-1165: Remove creation of acls on emqx (#2996 )
* rm acls creation for on-prem emqx
* remove use of acls
* add additional broker status field on status api
* comment out mq reconnect logic
* configure mq conn params
* add metric_interval in ENV for publishing metrics
* add metric_interval in ENV for publishing metrics
* update PUBLISH_METRIC_INTERVAL env name
* revert the mq setttings back
* fix error nil issue
---------
Co-authored-by: abhishek9686 <abhi281342@gmail.com>
Co-authored-by: Abhishek K <32607604+abhishek9686@users.noreply.github.com>
2024-07-09 18:56:55 +05:30
Max Ma
5b9ccb74a9
improve message for create egressGW ( #3001 )
2024-07-09 18:56:36 +05:30
Aceix
2de3fde872
fix(NET-1280): remove RAG metadata length restriction ( #2990 )
2024-07-05 15:54:05 +05:30
Max Ma
f63dfaf4b5
NET-1288:add egress range check with netmaker network address ( #2978 )
...
* add egress range check with netmaker network address
* add egerssrange check for delete egressGW and extClientGW
* remove egress range check for delete
2024-07-05 15:53:46 +05:30
Max Ma
7254fd850a
NET-1308:return error if relayed node is an InetClient ( #2980 )
...
* return error if relayed node is an InetClient
* add relayed InetGW/Relay check
* add relayedby check when adding InetClient
2024-07-05 15:53:14 +05:30
abhishek9686
97140b3dd5
revert crypto version
2024-06-18 15:58:03 +05:30
dependabot[bot]
2ca7bf7481
Bump golang.org/x/oauth2 from 0.20.0 to 0.21.0 ( #2968 )
...
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2 ) from 0.20.0 to 0.21.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.20.0...v0.21.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-18 08:08:39 +05:30
dependabot[bot]
24f8edcfde
Bump golang.org/x/crypto from 0.23.0 to 0.24.0 ( #2969 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.23.0 to 0.24.0.
- [Commits](https://github.com/golang/crypto/compare/v0.23.0...v0.24.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-18 07:33:37 +05:30
dependabot[bot]
3e9436b78d
Bump github.com/go-playground/validator/v10 from 10.20.0 to 10.22.0 ( #2981 )
...
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator ) from 10.20.0 to 10.22.0.
- [Release notes](https://github.com/go-playground/validator/releases )
- [Commits](https://github.com/go-playground/validator/compare/v10.20.0...v10.22.0 )
---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-18 07:33:16 +05:30
dependabot[bot]
4e0889669b
Bump github.com/gorilla/websocket from 1.5.1 to 1.5.3 ( #2982 )
...
Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket ) from 1.5.1 to 1.5.3.
- [Release notes](https://github.com/gorilla/websocket/releases )
- [Commits](https://github.com/gorilla/websocket/compare/v1.5.1...v1.5.3 )
---
updated-dependencies:
- dependency-name: github.com/gorilla/websocket
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-18 07:32:59 +05:30
dependabot[bot]
5be4ea2148
Bump github.com/spf13/cobra from 1.8.0 to 1.8.1 ( #2983 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.8.0...v1.8.1 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-18 07:32:39 +05:30
dependabot[bot]
079f1176e1
Bump dawidd6/action-download-artifact from 3 to 6 ( #2984 )
...
Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact ) from 3 to 6.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases )
- [Commits](https://github.com/dawidd6/action-download-artifact/compare/v3...v6 )
---
updated-dependencies:
- dependency-name: dawidd6/action-download-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-18 07:32:20 +05:30
dependabot[bot]
d18d60ff43
Bump docker/build-push-action from 5 to 6 ( #2985 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-18 07:32:01 +05:30
Christopher Blaha
7d001b81a7
update develop to v0.24.3 ( #2977 )
2024-06-18 07:23:20 +05:30
Abhishek K
22a00bda9b
Merge pull request #2976 from gravitl/release-v0.24.2
...
v0.24.2
2024-06-18 07:21:08 +05:30
Abhishek K
595e05756f
V0.24.2 release notes ( #2975 )
...
* v0.24.2 release notes
* update notes
* Update release.md
* Update release.md
* Update release.md
* Update release.md
2024-06-13 22:00:27 +05:30
Max Ma
6fa084006a
NET-1355:peerUpdate for default host after new network created ( #2974 )
...
* peerUpdate for default host after new network created
* remove mq check for peerUpdate
2024-06-12 17:33:26 +05:30
Abhishek K
aeb76764c4
NET-1357: add endpoint to exisiting peer config ( #2973 )
...
* debug logs
* add endpoint to exisiting peer config
* rm debug logs
* don't set port to public port when host is static
2024-06-12 17:32:43 +05:30
Abhishek K
1ce38f7c7c
NET-1349: add new user to pending user via RAC login ( #2967 )
...
* add new user to pending user via RAC login
* fix: add check for allowed domains
---------
Co-authored-by: the_aceix <aceixsmartx@gmail.com>
2024-06-11 18:07:32 +05:30
Abhishek K
50d8da2dc2
Merge pull request #2958 from gravitl/NET-1268
...
NET-1268:seperate static port and static endpoint
2024-06-05 12:47:45 +05:30
Abhishek K
ce98883c43
Merge pull request #2962 from gravitl/NET-1311
...
NET-1311:fix egressing exclient set route issue
2024-06-05 12:47:26 +05:30
Max Ma
f10bce783b
update legacy back to isStatic
2024-06-04 11:53:22 +02:00
Abhishek K
87b2c1bb33
NET-1307: restrict failover node from being relayed ( #2960 )
...
* restrict failover node from being relayed
* set errors on failover valid checks
2024-06-04 15:07:35 +05:30
Max Ma
0180481ddb
fix egressing exclient set route issue
2024-06-03 19:41:13 +02:00
Max Ma
c7469c79d0
rename isstaticendpoint to isstatic
2024-06-03 10:37:19 +02:00
Abhishek K
7ff30599ed
NET-1252: Restrict inetGws, Relays from getting failedOver ( #2937 )
...
* add additional checks to avoid failovers
* add failover defence check on signal handler
* only add check for victim node
* avoid failover reset on pull
* add relayed for failoverme
* misc changes for failover
* remove resetfailoverpeers for InetNode
* add egress route back to allowedip list if relayed is egressGW
* add extclient back to allowedip list if peer is ingressGW
* reset failover on pull
---------
Co-authored-by: Max Ma <mayabin@gmail.com>
2024-06-03 10:49:02 +04:00
dependabot[bot]
e7e2ba4829
Bump alpine from 3.19.1 to 3.20.0 ( #2952 )
...
Bumps alpine from 3.19.1 to 3.20.0.
---
updated-dependencies:
- dependency-name: alpine
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-03 10:30:16 +04:00
dependabot[bot]
af71231956
Bump github.com/hashicorp/go-version from 1.6.0 to 1.7.0 ( #2951 )
...
Bumps [github.com/hashicorp/go-version](https://github.com/hashicorp/go-version ) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/hashicorp/go-version/releases )
- [Changelog](https://github.com/hashicorp/go-version/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/go-version/compare/v1.6.0...v1.7.0 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-version
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-03 10:29:54 +04:00