mirror of
https://github.com/gravitational/teleport.git
synced 2026-11-01 21:52:02 +08:00
* Teleport auth should refuse to start when jumping major versions (#41782) * linter fixes * code review changes: - replaced to use process storage and state itme - regexp replaced with semver - additional check for v18 for empty version record in storage * code review changes: - add integration test - store latest version in separate key * code review changes: - table tests - error message * code review changes: - minor changes * code review changes: - reuse context for write operation * code review changes: - simplify integration test - add downgrade check - minor changes * code review changes: - move logic to the auth init * code review changes: - add development env to skip version check - init the process storage if it is not set * code review changes: - add interface for local process storage - use semver in storage instead * change interface to version storage * add fake version storage for other tests