-
Notifications
You must be signed in to change notification settings - Fork 0
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
Validate cloud connection #5
Conversation
464467e
to
a8f6f2e
Compare
Event: make(chan source.Event, 1), | ||
} | ||
out.Event <- source.Event{ | ||
Message: unauthorizedMessage(s.openSourceBlockage), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just learned during e2e demo that for source we need to add also a plugin name as otherwise you won't know which one reported that. I will fix that tomorrow.
If I understand this correctly - the agent always forwards messages over to plugins, right? If that's the case, shouldn't we have something similar in the agent code instead? |
@vaijab In theory we could build the check in agent, but the agent is fully OS, so it would be easy to avoid by running modified agent. It's harder to workaround this check if it's on the closed-source plugin side. Hope that makes sense 🙂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, small comments
(didn't test it)
a8f6f2e
to
12dfce7
Compare
MOD handle / display errors ADD authorized executor ADD with retry connection to cloud MOD init auth executor for doctor and flux plugin ADD auth source for source plugins FIX prometheus
1. Call cloud endpoints only if cloud envs are present (speeds up indexing) 2. Introduce a goroutine to supervise active cloud connections: 3. Replace panic with user-facing messages minor: 1. Log connection errors instead of ignoring them 2. Simplify QGL client logic 3. Fix lint issues 4. Fix helm unit-tests
12dfce7
to
ff9c7ad
Compare
Description
Changes proposed in this pull request:
Related issue(s)
Resolve https://github.com/kubeshop/botkube-cloud/issues/881