Commit Graph

6855 Commits

Author SHA1 Message Date
Paul Lorenz f5181e0827 Merge pull request #1981 from openziti/update-deps-and-changelog
Update deps and changelog
2024-04-25 13:21:44 -04:00
Paul Lorenz 6d75a364e2 Update deps and changelog 2024-04-25 13:15:23 -04:00
Paul Lorenz 60ab353377 Merge pull request #1978 from openziti/fix-db-migration-check
Raft should not initialize if db is misconfigured. Fixes #1973
2024-04-24 12:22:42 -04:00
Paul Lorenz 0383bc63f1 Raft should not initialize if db is misconfigured. Fixes #1973 2024-04-24 08:04:17 -04:00
Paul Lorenz a998a4afaf Merge pull request #1967 from openziti/rdm-change-sets
Implement router data model changesets. Fixes #1966
2024-04-23 17:44:53 -04:00
Paul Lorenz e70830ac38 Merge pull request #1969 from Vrashabh-Sontakke/patch-1
Enhance Identity Existance Checks with Improved Error Handling
2024-04-23 15:59:22 -04:00
Paul Lorenz ab70f3c7bb Update to latest ziti-edge-tunnel 2024-04-23 15:46:29 -04:00
Andrew 5241b8855c Merge pull request #1972 from openziti/fix.1971.oidc.auth.flow.config.type.ids
fixes #1971 OIDC auth now converts config type names to ids
2024-04-23 15:05:58 -04:00
Andrew Martinez 8539bd642f make golangci-lint happy, take 1 2024-04-23 15:04:10 -04:00
Andrew Martinez 255dbdacfa fixes #1971 OIDC auth now converts config type names to ids 2024-04-23 14:53:32 -04:00
Paul Lorenz 898e41ae2a Implement router data model changesets. Fixes #1966 2024-04-23 11:56:10 -04:00
Vrashabh Sontakke c83b14993c Enhance Identity Existance Checks with Improved Error Handling
This commit enhances the `LoadSelectedIdentity` function in the [identities.go](https://github.com/openziti/ziti/blob/a60ed6ffb6d539664151584ccd01b1740fc4d2b2/ziti/util/identities.go#L241C1-L255C2) file by adding improved error handling and checks for the existence of identities in the CLI configuration.

Previously, the function only threw an ambiguous error if the selected identity was not found in the CLI config. 
However, with this enhancement, the function now checks if there are any saved identities in the CLI config. 
If no identities are found, it returns an error instructing the user to log in using the `ziti edge login` command.
Additionally, if the specified identity is not found, it returns an error message indicating that the identity could not be found in the CLI config and provides instructions on how to select an existing identity using `ziti edge use <identity_name>`.

These changes improve the robustness of the function by ensuring that appropriate error messages are provided in scenarios where the user is not logged in or when the selected identity is missing.

fixes #1772 thanks to @plorenz
2024-04-23 20:34:37 +05:30
Andrew a60ed6ffb6 Merge pull request #1965 from openziti/add.router.token.update.handling
fixes #1964, fixes #1960 adds the ability to handle and process beare…
2024-04-23 09:34:20 -04:00
Andrew 68f0167126 Merge pull request #1927 from openziti/fix.1926.enroll.certs.with.chains
fixes #1926 adds chains to enrollment responses
2024-04-23 09:33:22 -04:00
Andrew Martinez 96f8c0e8b9 fixes tests 2024-04-22 15:21:11 -04:00
Andrew Martinez 9635e201a6 removes redundant return 2024-04-22 15:10:27 -04:00
Andrew Martinez 3fb9ff1ea3 fixes #1964, fixes #1960 adds the ability to handle and process bearer token updates
- established connections can now send an update token message with the
  body of a new bearer token
- the new token's signer is verified from the router data model along
  with the claims (matching subject, api session id, etc.)
- cleans up token exchange claim handling in the controller
2024-04-22 14:48:33 -04:00
Andrew c29fcb5669 Merge pull request #1963 from openziti/fix.1962.update.edge-apis
fixes #1962 with edge-api update to v0.26.18
2024-04-19 15:02:45 -04:00
Andrew Martinez 9d1dc1c39d fixes #1962 with edge-api update to v0.26.18 2024-04-19 14:37:41 -04:00
Kenneth Bingham 60063ad878 Merge pull request #1961 from openziti/tweak-linux-install
improve error message
2024-04-19 12:33:55 -04:00
Kenneth Bingham 4d8eb78ef2 improve error message 2024-04-19 11:52:04 -04:00
Kenneth Bingham 908aabedb4 Merge pull request #1945 from openziti/controller-install-libbpf
install libbpf in the controller image
2024-04-19 10:49:24 -04:00
Andrew 4214e22525 Merge pull request #1959 from openziti/tweak.oidc.token.exchange
tweaks behavior of token exchange
2024-04-18 16:57:16 -04:00
Andrew Martinez 739bcf6d8e tweaks behavior of token exchange
- allow access > access token exchanges
- explicitly check for token exchange types
- remove store error
- remove unused custom scopes
- helps with openziti/ziti#1960

allow offline_request
2024-04-18 16:35:04 -04:00
Paul Lorenz df1e3d148d Merge pull request #1956 from openziti/release-as-prerelease
Publish releases to GH as pre-releases
2024-04-18 09:53:39 -04:00
Paul Lorenz c4ae1798b4 Publish releases to GH as pre-releases 2024-04-18 09:51:11 -04:00
Paul Lorenz ed73edbb57 Merge pull request #1953 from openziti/router-data-model-tweaks
router data model tweaks
2024-04-17 20:08:21 -04:00
Paul Lorenz 8109012afb Update changelog and deps 2024-04-17 19:29:41 -04:00
Paul Lorenz a930303749 Update tests for sdk changes 2024-04-17 16:26:29 -04:00
Paul Lorenz 9c314a7cf0 Update version and changelog 2024-04-17 16:26:29 -04:00
Andrew c4fd3dea8d Merge pull request #1949 from openziti/add.ha.flag.doc
Add.ha.flag.doc
2024-04-17 16:15:03 -04:00
Andrew Martinez 0ceb7f2714 spellcheck fixes 2024-04-17 16:13:24 -04:00
Paul Lorenz ea7bd04cc7 Remove support for fabric only identities in CLI. Fixes #1952 2024-04-17 14:57:20 -04:00
Paul Lorenz 32d743ff11 Update router data model with: add service policy type, flesh out identity. Fixes #1950 Fixes #1951 2024-04-17 14:57:20 -04:00
Paul Lorenz db55a4ea80 Some tweaks to db ctrl test 2024-04-17 14:25:32 -04:00
Paul Lorenz 3e9567b412 Use config types from edge-apis instead of manually parsing 2024-04-17 14:25:32 -04:00
Andrew Martinez cbca58023a adds feature flag doc for Go SDK and Edge Routers 2024-04-17 13:51:36 -04:00
Paul Lorenz d735026625 Merge pull request #1943 from openziti/sessionless-ert-intercept
sessionless ert intercept
2024-04-16 15:49:05 -04:00
Paul Lorenz a0245e5cd3 Allow ER/T to intercept services w/out sessions when in HA mode. Fixes #1942 2024-04-16 15:11:00 -04:00
Paul Lorenz 4085c32008 Merge pull request #1937 from openziti/fix-create-terminator-ha-loop
Don't use EdgeSessionRemoved tracking for HA sessions. Fixes #1936
2024-04-16 15:08:42 -04:00
Kenneth Bingham 80ed2ef0ed install libbpf in the controller image 2024-04-16 08:38:49 -04:00
Kenneth Bingham b0f91af0ba Merge pull request #1944 from openziti/organize-container-image-vars
tidy container images
2024-04-16 08:28:31 -04:00
Kenneth Bingham 62daafa801 tidy gitignore 2024-04-16 08:11:23 -04:00
Kenneth Bingham f95f1a24c8 finish testing the tproxy example 2024-04-15 21:59:45 -04:00
Kenneth Bingham b1161f71aa tidy container images 2024-04-15 21:15:25 -04:00
Kenneth Bingham 35ac0ad960 fix and clarify how to use router container in tproxy mode 2024-04-15 18:47:25 -04:00
Kenneth Bingham 592cd4c4bf Merge pull request #1940 from openziti/bump-container-source-image
bump container image source to RedHat 9
2024-04-15 18:24:15 -04:00
Kenneth Bingham 480d5401e4 Merge pull request #1933 from openziti/linux-package-controller
deployments alpha for Linux and Docker
2024-04-15 18:21:49 -04:00
Kenneth Bingham 2fbfb934c4 use systemd overrides to avoid modifying service unit in /lib 2024-04-15 17:34:16 -04:00
Kenneth Bingham 7ad8d1ef41 express systemd minimum version as a package dependency instead of a postinstall scriptlet 2024-04-15 17:05:36 -04:00