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: Updated feast Go operator db stores #4802

Closed
wants to merge 44 commits into from

Conversation

tmihalac
Copy link
Contributor

@tmihalac tmihalac commented Dec 2, 2024

What this PR does / why we need it:

This PR contains the changes and leftovers from 4771

Which issue(s) this PR fixes:

Fixes #4793
Fixes #4783

- Added tests for invalid store type for each of the feast service

Signed-off-by: Theodor Mihalache <[email protected]>
@tmihalac tmihalac requested a review from a team as a code owner December 2, 2024 17:18
@dmartinol dmartinol enabled auto-merge (squash) December 3, 2024 16:50
auto-merge was automatically disabled December 3, 2024 18:38

Head branch was pushed to by a user without write access

tmihalac and others added 18 commits December 3, 2024 13:43
- Added tests for invalid store type for each of the feast service

Signed-off-by: Theodor Mihalache <[email protected]>
Signed-off-by: Theodor Mihalache <[email protected]>
…PR-4771

# Conflicts:
#	infra/feast-operator/internal/controller/featurestore_controller_db_store_test.go
* chore: Updated testcontainers to support MilvusContainer

Signed-off-by: Francisco Javier Arceo <[email protected]>

* downgraded

Signed-off-by: Francisco Javier Arceo <[email protected]>

* updating libraries to downgrade singlestore to 1.7.2

Signed-off-by: Francisco Javier Arceo <[email protected]>

* fixing lint issues post package upgrades

Signed-off-by: Francisco Javier Arceo <[email protected]>

* downgraded pyarrow

Signed-off-by: Francisco Javier Arceo <[email protected]>

---------

Signed-off-by: Francisco Javier Arceo <[email protected]>
Signed-off-by: Theodor Mihalache <[email protected]>
* Add support for db stores in feast go operator

Signed-off-by: Theodor Mihalache <[email protected]>

* Added CR example for store persistence

Signed-off-by: Theodor Mihalache <[email protected]>

* Fixed incorrect yaml tag in RegistryConfig struct

Signed-off-by: Theodor Mihalache <[email protected]>

* Removed leftovers comments from hasAttrib function

Signed-off-by: Theodor Mihalache <[email protected]>

* Added another check that object parameter type is the same as value type in hasAttrib

Signed-off-by: Theodor Mihalache <[email protected]>

* Reverted latest commit

Signed-off-by: Theodor Mihalache <[email protected]>

---------

Signed-off-by: Theodor Mihalache <[email protected]>
…ing (feast-dev#4794)

Signed-off-by: Francisco Javier Arceo <[email protected]>
Signed-off-by: Theodor Mihalache <[email protected]>
fix dbstore types

Signed-off-by: Tommy Hughes <[email protected]>
Signed-off-by: Theodor Mihalache <[email protected]>
* fix: sqlite adapter deprecation warning

Signed-off-by: Matt Green <[email protected]>

* fix: remove duplicate folder definition in ruff config

Signed-off-by: Matt Green <[email protected]>

* update minimum ruff version and format files

Signed-off-by: Matt Green <[email protected]>

---------

Signed-off-by: Matt Green <[email protected]>
Signed-off-by: Theodor Mihalache <[email protected]>
)

Lock the TypeScript minor version by using `~` instead of `^` in the
version specifier, see
fastify/fastify-type-provider-typebox#169 (comment).

After upgrading, the TypeScript compiler complained that the `long`
package has no default export. Related fixes:

- Add the latest `long` version as a direct dependency since our code
  uses it directly; no compilation errors with the latest version

- The `long` package exports a `Long` class, so use a capital first
  letter in the import name to match that

Signed-off-by: Harri Lehtola <[email protected]>
Signed-off-by: Theodor Mihalache <[email protected]>
* Initial commit

Signed-off-by: Daniele Martinoli <[email protected]>

* refactoring types with FeastHandler

Signed-off-by: Daniele Martinoli <[email protected]>

* no private image

Signed-off-by: Daniele Martinoli <[email protected]>

* removed  log-level

Signed-off-by: Daniele Martinoli <[email protected]>

* no empty list for default Role

Signed-off-by: Daniele Martinoli <[email protected]>

* removed nameLabelKey, using serices.NameLabelKey

Signed-off-by: Daniele Martinoli <[email protected]>

* improved CRD comments and using IsLocalRegistry

Signed-off-by: Daniele Martinoli <[email protected]>

* fixing generated code

Signed-off-by: Daniele Martinoli <[email protected]>

* renamed auth condition and types

Signed-off-by: Daniele Martinoli <[email protected]>

* post rebase fixes

Signed-off-by: Daniele Martinoli <[email protected]>

* more renamings

Signed-off-by: Daniele Martinoli <[email protected]>

---------

Signed-off-by: Daniele Martinoli <[email protected]>
Signed-off-by: Theodor Mihalache <[email protected]>
* add tls support to the operator

Signed-off-by: Tommy Hughes <[email protected]>

* operator tls review fix: if statement

Signed-off-by: Tommy Hughes <[email protected]>

* rebase fixes

Signed-off-by: Tommy Hughes <[email protected]>

* authz rbac fixes

Signed-off-by: Tommy Hughes <[email protected]>

---------

Signed-off-by: Tommy Hughes <[email protected]>
Signed-off-by: Theodor Mihalache <[email protected]>
* clean up dependency installation makefile tasks

Signed-off-by: Matt Green <[email protected]>

* rewrite lock-python-dependencies-all to be more DRY

Signed-off-by: Matt Green <[email protected]>

* update environment setup docs

Signed-off-by: Matt Green <[email protected]>

* update smoke test

Signed-off-by: Matt Green <[email protected]>

* small change

Signed-off-by: Matt Green <[email protected]>

---------

Signed-off-by: Matt Green <[email protected]>
Signed-off-by: Theodor Mihalache <[email protected]>
- Added tests for invalid store type for each of the feast service

Signed-off-by: Theodor Mihalache <[email protected]>
Copy link
Contributor

@tchughesiv tchughesiv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tmihalac seems you might need to rebase on an updated master? something got messed up with your last push

Copy link
Contributor

@tchughesiv tchughesiv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rebase needs to be fixed

Copy link
Contributor

@tchughesiv tchughesiv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

dmartinol and others added 14 commits December 4, 2024 08:04
* Initial commit

Signed-off-by: Daniele Martinoli <[email protected]>

* no private image

Signed-off-by: Daniele Martinoli <[email protected]>

* removed nameLabelKey, using serices.NameLabelKey

Signed-off-by: Daniele Martinoli <[email protected]>

* improved CRD comments and using IsLocalRegistry

Signed-off-by: Daniele Martinoli <[email protected]>

* fixing generated code

Signed-off-by: Daniele Martinoli <[email protected]>

* renamed auth condition and types

Signed-off-by: Daniele Martinoli <[email protected]>

* more renamings

Signed-off-by: Daniele Martinoli <[email protected]>

* initial commit

Signed-off-by: Daniele Martinoli <[email protected]>

* oidc IT

Signed-off-by: Daniele Martinoli <[email protected]>

* with sample

Signed-off-by: Daniele Martinoli <[email protected]>

* no private image

Signed-off-by: Daniele Martinoli <[email protected]>

---------

Signed-off-by: Daniele Martinoli <[email protected]>
* fix envVar positioning

Signed-off-by: Tommy Hughes <[email protected]>

* tls.SecretRef.Name

Signed-off-by: Tommy Hughes <[email protected]>

---------

Signed-off-by: Tommy Hughes <[email protected]>
* Add support for db stores in feast go operator

Signed-off-by: Theodor Mihalache <[email protected]>

* Added CR example for store persistence

Signed-off-by: Theodor Mihalache <[email protected]>

* Fixed incorrect yaml tag in RegistryConfig struct

Signed-off-by: Theodor Mihalache <[email protected]>

* Removed leftovers comments from hasAttrib function

Signed-off-by: Theodor Mihalache <[email protected]>

* Added another check that object parameter type is the same as value type in hasAttrib

Signed-off-by: Theodor Mihalache <[email protected]>

* Reverted latest commit

Signed-off-by: Theodor Mihalache <[email protected]>

---------

Signed-off-by: Theodor Mihalache <[email protected]>
* Initial commit

Signed-off-by: Daniele Martinoli <[email protected]>

* refactoring types with FeastHandler

Signed-off-by: Daniele Martinoli <[email protected]>

* no private image

Signed-off-by: Daniele Martinoli <[email protected]>

* removed  log-level

Signed-off-by: Daniele Martinoli <[email protected]>

* no empty list for default Role

Signed-off-by: Daniele Martinoli <[email protected]>

* removed nameLabelKey, using serices.NameLabelKey

Signed-off-by: Daniele Martinoli <[email protected]>

* improved CRD comments and using IsLocalRegistry

Signed-off-by: Daniele Martinoli <[email protected]>

* fixing generated code

Signed-off-by: Daniele Martinoli <[email protected]>

* renamed auth condition and types

Signed-off-by: Daniele Martinoli <[email protected]>

* post rebase fixes

Signed-off-by: Daniele Martinoli <[email protected]>

* more renamings

Signed-off-by: Daniele Martinoli <[email protected]>

---------

Signed-off-by: Daniele Martinoli <[email protected]>
Signed-off-by: Theodor Mihalache <[email protected]>
* add tls support to the operator

Signed-off-by: Tommy Hughes <[email protected]>

* operator tls review fix: if statement

Signed-off-by: Tommy Hughes <[email protected]>

* rebase fixes

Signed-off-by: Tommy Hughes <[email protected]>

* authz rbac fixes

Signed-off-by: Tommy Hughes <[email protected]>

---------

Signed-off-by: Tommy Hughes <[email protected]>
Signed-off-by: Theodor Mihalache <[email protected]>
- Added tests for invalid store type for each of the feast service

Signed-off-by: Theodor Mihalache <[email protected]>
Signed-off-by: Theodor Mihalache <[email protected]>
Signed-off-by: Theodor Mihalache <[email protected]>
…PR-4771

# Conflicts:
#	infra/feast-operator/test/api/featurestore_types_test.go
Signed-off-by: Theodor Mihalache <[email protected]>
@franciscojavierarceo
Copy link
Member

@tmihalac can you update DCO here? (You can click in the UI)

@tmihalac tmihalac closed this Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Leftovers of PR #4771 Add to Go operator support for db stores
6 participants