-
Notifications
You must be signed in to change notification settings - Fork 7
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
feat: Add vector store settings #1932
feat: Add vector store settings #1932
Conversation
|
||
func (in *ElasticsearchConnectionSettings) Password(ctx context.Context, c client.Client, namespace string) (*string, error) { | ||
if in == nil { | ||
return nil, fmt.Errorf("configured elastic settings cannot be 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.
we need to make sure that error is able to be backoffed properly by the controller when the secret doesn't yet exist
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.
Can you review controller improvements that we did with @zreigz? It would make it easier. Otherwise I can just take some bits from that PR.
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've integrated part of the changes from #1893. Now, not found
error will be propagated to the Reconcile
function and handled in handleRequeue
function.
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.
oh my fault, yea approved that pr
Tested it on dev cluster.
Example misconfigurations:
In case of not found error (i.e. password secret missing) requeue will be set to 30s.