Commit graph

4042 commits

Author SHA1 Message Date
Anish Mukherjee
98e60edb19 retry only once for refreshing JWT 2022-12-09 19:55:27 +05:30
Anish Mukherjee
5f3fd9ee96 remove redundant checks on nodes 2022-12-09 17:11:55 +05:30
Anish Mukherjee
94dc0d9c8a add a simple get request function 2022-12-08 19:04:23 +05:30
Anish Mukherjee
b2d0a6dfe9 use cached JWT token and refresh on expiry 2022-12-08 18:53:57 +05:30
Anish Mukherjee
87f560f0ac add function comment 2022-12-08 18:07:45 +05:30
Anish Mukherjee
8cbe7cb186 allow only dashes and alphanumeric for node and ext client names 2022-12-08 17:51:42 +05:30
kayos@tcp.direct
c074d6e2ae
Fix: ignoring of returned error value 2022-12-07 00:28:06 -08:00
kayos@tcp.direct
4c4cd6eb4d
Revert: changing mechanics of loop (for ease of pr review)
cherry-pick the ineffective `err` assignment to make our following error check not useless
2022-12-06 20:26:46 -08:00
kayos@tcp.direct
e878e4820a
Fixes+Chores: avoid de-referencing nil ptrs + lint
- Avoid referencing conditions we know are false/true

 - Avoid using name of imported package as variable

 - Avoid broken (see list item 1) if else statement in `ipservice.go` by refactoring to switch statement

 - When assigning a pointer value to a variable along with an error, check that error before referencing that pointer. Thus avoiding de-referencing a nil and causing a panic.
  *** This item is the most important ***

 - Standard gofmt package sorting + linting; This includes fixing comment starts for go doc

 - Explicit non-handling of unhandled errors where appropriate (assigning errs to _ to reduce linter screaming)

 - Export ErrExpired in `netcache` package so that we can properly reference it using `errors.Is` instead of using `strings.Contains` against an `error.Error()` value
2022-12-06 20:11:20 -08:00
dependabot[bot]
6d193dcaf7
Bump peter-evans/repository-dispatch from 2.0.0 to 2.1.0
Bumps [peter-evans/repository-dispatch](https://github.com/peter-evans/repository-dispatch) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/peter-evans/repository-dispatch/releases)
- [Commits](https://github.com/peter-evans/repository-dispatch/compare/v2.0.0...v2.1.0)

---
updated-dependencies:
- dependency-name: peter-evans/repository-dispatch
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-06 15:52:40 +00:00
dependabot[bot]
6163618d37
Bump actions/setup-go from 2 to 3
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-06 15:52:37 +00:00
Anish Mukherjee
8b62bdec62 add acl allow/deny subcommands 2022-12-06 21:10:18 +05:30
dependabot[bot]
a3f1c089ad
Bump github.com/urfave/cli/v2 from 2.23.5 to 2.23.6
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.23.5 to 2.23.6.
- [Release notes](https://github.com/urfave/cli/releases)
- [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/urfave/cli/compare/v2.23.5...v2.23.6)

---
updated-dependencies:
- dependency-name: github.com/urfave/cli/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-05 23:04:21 +00:00
dependabot[bot]
57f1259ee3
Bump github.com/c-robinson/iplib from 1.0.3 to 1.0.4
Bumps [github.com/c-robinson/iplib](https://github.com/c-robinson/iplib) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/c-robinson/iplib/releases)
- [Commits](https://github.com/c-robinson/iplib/compare/v1.0.3...v1.0.4)

---
updated-dependencies:
- dependency-name: github.com/c-robinson/iplib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-05 23:04:11 +00:00
dependabot[bot]
b60bb88092
Bump github.com/golang-jwt/jwt/v4 from 4.4.2 to 4.4.3
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt) from 4.4.2 to 4.4.3.
- [Release notes](https://github.com/golang-jwt/jwt/releases)
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md)
- [Commits](https://github.com/golang-jwt/jwt/compare/v4.4.2...v4.4.3)

---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-05 23:04:00 +00:00
dcarns
0d9b47f212
Merge pull request #1769 from gravitl/feature_v0.17.1_local_interfaces
add all local interfaces to node
2022-12-01 09:59:30 -05:00
dcarns
24f94c787f
Merge pull request #1780 from gravitl/bugfix_v0.17.0_osflagusage
Update usage for the operatingsystem flag.
2022-12-01 09:59:16 -05:00
cameronts
1f9ee111de Update usage for the operatingsystem flag. 2022-11-30 16:43:11 -08:00
Alex Feiszli
81f25ad1e5
Merge pull request #1779 from gravitl/release_v0.17.0
Release v0.17.0
2022-11-30 13:19:42 -05:00
dcarns
5d4ea19bef
Merge pull request #1776 from gravitl/cleanup_unused_routes
Remove unused endpoints
2022-11-30 13:19:13 -05:00
afeiszli
00ee6af39c adding 'v' to docker images in ee 2022-11-30 13:15:59 -05:00
dcarns
8ae79acb29
Merge pull request #1777 from gravitl/hotfix_v0.17.0_workflow_userspace_docker
revert setup-buildx-version
2022-11-30 10:00:47 -05:00
dcarns
cfba44c469
Merge pull request #1778 from gravitl/hotfix_build_release_workflow
add apt update
2022-11-30 09:21:51 -05:00
Matthew R Kasun
3a936e573a
add apt update 2022-11-30 08:15:26 -05:00
Matthew R Kasun
3f46f5392f
revert setup-buildx-version 2022-11-30 08:08:42 -05:00
Anish Mukherjee
3b7968483d use sudo apt update in workflow 2022-11-30 16:32:44 +05:30
Anish Mukherjee
fb84ddc6f1 remove unused endpoints 2022-11-30 16:20:05 +05:30
dcarns
9e3f402e81
Merge pull request #1774 from gravitl/feature_v0.17.0_versions
updated versions to v0.17.0 where applicable
2022-11-29 13:14:24 -05:00
0xdcarns
9fb0380f68 swagger version udpate 2022-11-29 12:05:56 -05:00
0xdcarns
5689ef5440 updated versions to v0.17.0 where apllicable 2022-11-29 11:48:40 -05:00
dcarns
d4310fc8f4
Merge pull request #1772 from gravitl/feature_v0.17.0_compose_scripts
Feature v0.17.0 compose scripts
2022-11-29 11:45:12 -05:00
afeiszli
3e465ff0e0 image version 2022-11-29 11:33:30 -05:00
afeiszli
9b6d9c36f8 allow anon --> false 2022-11-29 11:31:19 -05:00
dcarns
68663b9774
Merge pull request #1770 from gravitl/feature_v0.17.0_netclient_userspace_multiarch
add multiarch suport for netclient-docker usersapce
2022-11-29 11:15:17 -05:00
dcarns
e21ab61a4f
Merge pull request #1773 from gravitl/feature_v0.17.0_suppress_zombie_log
changed verbosity for zombie checking log message
2022-11-29 11:10:03 -05:00
dcarns
5ce52dc3f4
Merge pull request #1771 from gravitl/bugfix_v0.16.3_test_workflow
update apt prior to pulling packages
2022-11-29 10:48:19 -05:00
Matthew R. Kasun
50a1c3a018 changed verbosity for zombie checking log message 2022-11-29 09:42:46 -05:00
Anish Mukherjee
a98a116bf7 add network users subcommand 2022-11-29 19:23:39 +05:30
Matthew R Kasun
e57ed27dbe
tests require gui libs 2022-11-28 14:13:58 -05:00
afeiszli
e0d647dd4a updated readme 2022-11-28 13:57:36 -05:00
Matthew R Kasun
b2cda3e469
update apt prior to pulling packages 2022-11-28 13:56:04 -05:00
afeiszli
95f25f2793 adding EE 2022-11-28 13:46:03 -05:00
afeiszli
4ea5dc3440 adding EE 2022-11-28 13:42:26 -05:00
Matthew R Kasun
62ca849a88
add multiarch 2022-11-28 13:34:19 -05:00
afeiszli
13ea0054bd updating node checker 2022-11-28 13:23:32 -05:00
afeiszli
a7af7ff6eb adding fixes 2022-11-28 13:03:07 -05:00
Matthew R. Kasun
5e4e512890 review comments 2022-11-28 12:40:52 -05:00
afeiszli
45db480522 adding vols for caddy 2022-11-28 12:30:23 -05:00
afeiszli
26c1e48d39 changing routes for test 2022-11-28 12:22:39 -05:00
afeiszli
a9fefb16ad changing routes for test 2022-11-28 12:22:02 -05:00