Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Better migration path from the ngrok kuberntes-ingress-controller to the ngrok-operator #495

Merged
merged 2 commits into from
Nov 8, 2024

Conversation

jonstacks
Copy link
Collaborator

What

Attempts to provide a better migration path between the kubernetes-ingress-controller and the ngrok-operator. One of the problems identified is that it duplicates CRs in existing environments because the k8s.ngrok.com/controller-name and k8s.ngrok.com/controller-namespace labels (that we b/c owner references are not allowed cross namespace) do not match what the new operator thinks it should.

How

For the initial ngrok-operator release, include a migration on startup that will re-label the domains, httpsedges, and tunnels with the expected labels so that new objects are not created but are instead adopted.

Breaking Changes

No

@jonstacks jonstacks added the bug Something isn't working label Nov 8, 2024
@jonstacks jonstacks self-assigned this Nov 8, 2024
@jonstacks jonstacks requested a review from a team as a code owner November 8, 2024 08:30
@github-actions github-actions bot added the area/controller Issues dealing with the controller label Nov 8, 2024
@jonstacks jonstacks merged commit 6e2c6e7 into ngrok:main Nov 8, 2024
7 checks passed
@jonstacks jonstacks deleted the better-migration-path branch November 8, 2024 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/controller Issues dealing with the controller bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants