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

feat: Add vector store settings #1932

Conversation

maciaszczykm
Copy link
Member

@maciaszczykm maciaszczykm commented Feb 20, 2025

Tested it on dev cluster.

Example misconfigurations:

Zrzut ekranu 2025-02-21 o 12 42 37 Zrzut ekranu 2025-02-21 o 12 39 17

In case of not found error (i.e. password secret missing) requeue will be set to 30s.

Copy link

linear bot commented Feb 20, 2025

@maciaszczykm maciaszczykm added the enhancement New feature or request label Feb 20, 2025

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")
Copy link
Member

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

Copy link
Member Author

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.

Copy link
Member Author

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.

Copy link
Member

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

@maciaszczykm maciaszczykm marked this pull request as ready for review February 21, 2025 11:43
@maciaszczykm maciaszczykm requested review from michaeljguarino and a team February 21, 2025 11:45
@michaeljguarino michaeljguarino merged commit fb79b5f into master Feb 21, 2025
13 checks passed
@michaeljguarino michaeljguarino deleted the marcin/prod-3232-add-console-operator-setup-for-ai-vector-indexing branch February 21, 2025 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants