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

SQLite backed cache: indexed fields round #4 #430

Merged
merged 2 commits into from
Dec 19, 2024

Conversation

moio
Copy link
Contributor

@moio moio commented Dec 17, 2024

@moio moio requested a review from a team as a code owner December 17, 2024 08:48
@moio moio requested review from tomleb and richard-cox December 17, 2024 08:48
@moio
Copy link
Contributor Author

moio commented Dec 17, 2024

@richard-cox

storage.k8s.io.storageclass
metadata.annotations."storageclass.kubernetes.io/is-default-class"

Note this is already in main:

{"metadata", "annotations[storageclass.kubernetes.io/is-default-class]"},

Should it be removed? Current PR leaves it alone.

Copy link
Member

@richard-cox richard-cox left a comment

Choose a reason for hiding this comment

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

gvkKey("storage.k8s.io", "v1", "StorageClass"): {
  {"provisioner"},
  {"metadata", "annotations[storageclass.kubernetes.io/is-default-class]"},
},

Looks good. Apologies i think i'd originally requested just annotations[storageclass.kubernetes.io/is-default-class] (and set in UI), so the request for change was to ensure the correct value was in, which it already was. As per discussion it looks like the field isn't indexed, but will progress that issue once rancher/lasso#120 has merged

@crobby crobby merged commit 5e15f22 into rancher:main Dec 19, 2024
1 check passed
moio added a commit to moio/steve that referenced this pull request Dec 20, 2024
* Change indexed fields according to https://github.com/rancher/rancher/issues/48256wq

Signed-off-by: Silvio Moioli <[email protected]>

* Fix typo

---------

Signed-off-by: Silvio Moioli <[email protected]>
@moio moio mentioned this pull request Dec 20, 2024
moio added a commit to moio/steve that referenced this pull request Jan 9, 2025
* Change indexed fields according to https://github.com/rancher/rancher/issues/48256wq

Signed-off-by: Silvio Moioli <[email protected]>

* Fix typo

---------

Signed-off-by: Silvio Moioli <[email protected]>
@moio moio mentioned this pull request Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants