Commit Graph

11 Commits

Author SHA1 Message Date
Jonathan Stacks aa1781d348 Dependency updates (#785)
* chore: Update to go 1.26.1

Signed-off-by: Jonathan Stacks <jonstacks@users.noreply.github.com>

* chore: Run 'go fix ./...' for go 1.26.1

Signed-off-by: Jonathan Stacks <jonstacks@users.noreply.github.com>

* chore: Upgrade go modules

Signed-off-by: Jonathan Stacks <jonstacks@users.noreply.github.com>

* chore: Fix deprecations and linter warnings

Signed-off-by: Jonathan Stacks <jonstacks@users.noreply.github.com>

---------

Signed-off-by: Jonathan Stacks <jonstacks@users.noreply.github.com>
2026-03-23 16:50:43 +00:00
Jonathan Stacks 0b7b699e1a refactor: Remove ngrokAPICommon (#704)
* refactor: Remove ngrokAPICommon

This caused more problems than I think it solved. The code is messier for having it

Signed-off-by: Jonathan Stacks <jonstacks@users.noreply.github.com>

* test: Add test for endpoints mock client

---------

Signed-off-by: Jonathan Stacks <jonstacks@users.noreply.github.com>
2025-12-03 19:27:34 +00:00
Jonathan Stacks 3aa2154c71 fix: Created condition on existing IP Policy Rules (#702)
* feat(ip-policy): Add Ready Column

Signed-off-by: Jonathan Stacks <jonstacks@users.noreply.github.com>

* fix(ip-policy): Set created condition if not already set

This fixes a bug where it wasn't being set for existing IP Policies

Signed-off-by: Jonathan Stacks <jonstacks@users.noreply.github.com>

* test(ip-policy): Add test for existing policy not having condition

Signed-off-by: Jonathan Stacks <jonstacks@users.noreply.github.com>

---------

Signed-off-by: Jonathan Stacks <jonstacks@users.noreply.github.com>
2025-11-04 03:29:20 +00:00
sabrina-ngrok 55c484061c Audit the status fields of IP Policies (#684)
* testing changes

* Adding status conditions for the IP policy along with unit tests

* testing changes

* Adding status conditions for the IP policy along with unit tests

* saving

* Update internal/controller/ingress/ippolicy_controller.go

* Update internal/controller/ingress/ippolicy_controller.go

* Apply suggestions from code review

* Changing some of the mock configuration for IP policies for testing

* Fixing build-and-test errors

* Adding enriched error for invalid CIDR and using it in IP policy controller

---------

Co-authored-by: Sabrina Ahmed <sabrina@Sabrinas-MacBook-Pro.local>
2025-10-17 18:24:02 +00:00
Mason Johnson 91d1ccbbe6 Remove binding name (#567)
* remove references to bindings.name

* remove Name from KubernetesOperatorBinding resource

* make manifests

* Update README.md and values.schema.json with readme-generator-for-helm

* upgrade to ngrok-api-go/v7

* partially update endpoint selectors

---------

Co-authored-by: masonj5n <masonj5n@users.noreply.github.com>
2025-01-15 17:11:58 +00:00
Ryan Grant e9d2178e11 support phase-based traffic policy + api v6 upgrade 2024-10-29 09:37:43 -07:00
Harrison Katz 0c14fbf1ed Adjust package names 2024-09-16 12:45:30 -04:00
Harrison Katz e9a887c433 Update package names and paths to standardize on internal/controller ; package controller 2024-09-16 12:45:30 -04:00
Jonathan Stacks 1e2367de30 Update references from kubernetes-ingress-controller -> ngrok-operator (#426)
* chore(rename): Replace kubernetes-ingress-controller with ngrok-operator

rg github.com/ngrok/kubernetes-ingress-controller . --files-with-matches | xargs sed -i 's/github.com\/ngrok\/kubernetes-ingress-controller/github.com\/ngrok\/ngrok-operator/g'

* chore(rename): Move helm/ingress-controller -> helm/ngrok-operator

* chore(rename): More updates
2024-09-10 15:51:27 -05:00
Jonathan Stacks 96123fb43d chore: Turn on golangci-lint (#385) 2024-05-29 14:22:23 -05:00
Abdirahman Osman e09cba575a migrate to multigroup 2024-01-10 13:26:48 -06:00