-
Notifications
You must be signed in to change notification settings - Fork 8
Add API key support for the worker-controller #149
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
base: main
Are you sure you want to change the base?
Conversation
if config.RolloutStrategy.Gate == nil || | ||
status.CurrentVersion == nil || | ||
status.CurrentVersion.BuildID == status.TargetVersion.BuildID || | ||
(status.CurrentVersion != nil && status.CurrentVersion.BuildID == status.TargetVersion.BuildID) || |
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.
This is required but is part of a different open PR: #148
internal/demo/util/client.go
Outdated
if _, err := c.CheckHealth(context.Background(), &client.CheckHealthRequest{}); err != nil { | ||
panic(err) | ||
} | ||
// if _, err := c.CheckHealth(context.Background(), &client.CheckHealthRequest{}); err != nil { |
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 found out that when paired with API keys, this API call does not work - the only other call that could work is GetSystemInfo but I am not totally sure if we require this over here since we would be notified from client.Dial if anything has gone wrong between connecting our client to the server accepting our client connection
What was changed
Why?
Checklist
Closes
Add API Keys support #144
How was this tested: