Commit Graph

7 Commits

Author SHA1 Message Date
Jonathan Stacks 981805a7aa [Breaking Change!] Remove Deprecated CRDs (#664)
* chore!: Remove TCPEdge CRD

* chore!: Remove TLSEdge CRD

* chore!: Remove HTTPSEdge, Tunnel, and NgrokModuleSet CRDs
2025-07-08 16:12:32 +00:00
Jonathan Stacks 279246c3b7 feat(gateway-api): Validate gateway listeners hostname and port (#658)
* feat(gateway-api): Validate gateway listeners hostname and port

* fix: Don't remove the gateway from the store if it is invalid

* fix: don't update gateway status unless it needs updating
2025-06-20 21:31:51 +00:00
Jonathan Stacks d6426361de feat: Add a default domain reclaim policy (#656) 2025-05-16 14:59:29 +00:00
Jonathan Stacks 52e7132ee8 feat(gateway-api): Set accepted conditions on gateways & httproutes (#651)
* chore: Upgrade envtest & k8s version

* test: Enable HTTPReconciler and GatewayReconciler in tests

* test: Add more utilities to testutils package

* refactor: Use meta to set status condition and use test helpers

* feat(gateway-controller): Accept Gateway Controllers

* feat(httproute-controller): Accept HTTP Routes
2025-05-13 23:14:33 +00:00
Alice Lilith 7407d01c45 enable more golangci linters (#630)
* enable more golangci linters

Signed-off-by: Alice-Lilith <a.wasko@ngrok.com>

* fix lint: remove/rename unused parameters

Signed-off-by: Alice-Lilith <a.wasko@ngrok.com>

* fix lint: add leading space to comments

Signed-off-by: Alice-Lilith <a.wasko@ngrok.com>

* fix lint: remove unnecessary type conversions

Signed-off-by: Alice-Lilith <a.wasko@ngrok.com>

* fix lint: remove redundant else blocks

Signed-off-by: Alice-Lilith <a.wasko@ngrok.com>

* fix lint: simplify logic and avoid nesting

Signed-off-by: Alice-Lilith <a.wasko@ngrok.com>

* fix lint: remove redundant if statements

Signed-off-by: Alice-Lilith <a.wasko@ngrok.com>

* fix lint: unnamed results of the same type may be confusing

Signed-off-by: Alice-Lilith <a.wasko@ngrok.com>

* fix lint: handle unhandled error

Signed-off-by: Alice-Lilith <a.wasko@ngrok.com>

* fix lint: fix spelling mistakes

Signed-off-by: Alice-Lilith <a.wasko@ngrok.com>

* fix lint: fix spelling mistakes

Signed-off-by: Alice-Lilith <a.wasko@ngrok.com>

---------

Signed-off-by: Alice-Lilith <a.wasko@ngrok.com>
2025-04-17 17:35:42 +00:00
Alice Lilith bdfe581b2a add support for TCPRoute & TLSRoute (#621)
* fix mapping strategy translation bug

Signed-off-by: Alice-Lilith <a.wasko@ngrok.com>

* add storage for TPC and TLS routes

Signed-off-by: Alice-Lilith <a.wasko@ngrok.com>

* add controllers for TCPRoute and TLSRoute

Signed-off-by: Alice-Lilith <a.wasko@ngrok.com>

* implement endpoint translation for TLSRoute/TCPRoute

Signed-off-by: Alice-Lilith <a.wasko@ngrok.com>

* add additional store/translator tests and validations

Signed-off-by: Alice-Lilith <a.wasko@ngrok.com>

* add tests for TCP and TLS route controllers

Signed-off-by: Alice-Lilith <a.wasko@ngrok.com>

* improve controller tests

Signed-off-by: Alice-Lilith <a.wasko@ngrok.com>

---------

Signed-off-by: Alice-Lilith <a.wasko@ngrok.com>
2025-04-03 10:36:09 +00:00
Alice Lilith f7dd866b5a refactor: store driver (#553)
* split up driver.go

* move driver into its own package

* rename UpdateStoreHandler for api manager driver
2024-12-13 16:41:59 +00:00