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

Fixing operator startup #315

Merged
merged 4 commits into from
Nov 10, 2021
Merged

Fixing operator startup #315

merged 4 commits into from
Nov 10, 2021

Conversation

arschles
Copy link
Collaborator

@arschles arschles commented Nov 9, 2021

Prior to this PR, the operator would not start properly because it was attempting to use the controller-runtime library's client.Client to fetch the routing table ConfigMap. That usage failed because it was attempting to use the built-in client.Client before the controller started up. This PR changes the behavior of this lookup code to use its own built-in k8s.io/client-go based Kubernetes client to do the check.

Checklist

Fixes #

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
@arschles arschles added this to the v0.2.0 milestone Nov 9, 2021
@arschles arschles enabled auto-merge (squash) November 9, 2021 22:53
arschles and others added 2 commits November 10, 2021 10:31
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
@arschles arschles merged commit 6928ad1 into kedacore:main Nov 10, 2021
@arschles arschles deleted the operator-startup branch November 10, 2021 18:39
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.

None yet

1 participant