Skip to content

Undo API-incompatible TlsMode change#1648

Merged
Eugeny merged 3 commits intowarp-tech:mainfrom
LarsSven:ls/tls-mode
Jan 5, 2026
Merged

Undo API-incompatible TlsMode change#1648
Eugeny merged 3 commits intowarp-tech:mainfrom
LarsSven:ls/tls-mode

Conversation

@LarsSven
Copy link
Copy Markdown
Contributor

@LarsSven LarsSven commented Jan 5, 2026

With the LDAP user sync PR (#1603), the API of the TlsMode enum was changed from capitalised to non-capitalised (e.g. you now need to specify "disabled" rather than "Disabled"). This breaks all API tools including Terraform in Warpgate 0.19.0, where the official Warpgate Terraform provider is now unusable since it enforces you to choose between Preferred, Disabled or Required, and doesn't allow the lowercase variant, which makes it impossible to create an HTTP target for us.

Of course the Terraform provider can be updated, but I don't see the reason to have this be lowercase, especially since all other enums in the Warpgate API are capitalised (e.g. TargetGroup.color = Primary, Secondary etc...), so this PR proposes to revert the api-breaking change.

If this is indeed accepted, it would be incredibly useful to have a 0.19.1 patch release, such that we don't end up with a situation where 0.18 has a certain API, 0.19 has an API-breaking change, and then 0.20 has the old 0.18 API again.

@Eugeny Eugeny merged commit 003aecd into warp-tech:main Jan 5, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants