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: move Image to storage and implement field selectors #25

Merged

Conversation

fabriziosestito
Copy link
Collaborator

@fabriziosestito fabriziosestito commented Nov 7, 2024

This PR moves the Image type from the controller to storage and implements image metadata field selectors, removing the labels.
It also implements an Image store.

@fabriziosestito fabriziosestito force-pushed the fix/worker-create-catalog branch from 50dc09d to 6aed2a9 Compare November 11, 2024 10:18
@fabriziosestito fabriziosestito changed the title fix: CreateCatalog handler feat: move Image to storage and implement field selectors Nov 11, 2024
@fabriziosestito fabriziosestito self-assigned this Nov 11, 2024
@fabriziosestito fabriziosestito force-pushed the fix/worker-create-catalog branch from 6aed2a9 to 5d0c560 Compare November 11, 2024 10:24
@@ -15,7 +15,7 @@ spec:
labels:
worker: "true"
spec:
serviceAccountName: apiserver
serviceAccountName: controller-manager
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@flavio we need to change this when we work on the helm chart

Copy link
Member

Choose a reason for hiding this comment

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

Can you add a TODO for that or create an issue to keep track of it?

@fabriziosestito fabriziosestito marked this pull request as ready for review November 11, 2024 10:48
@fabriziosestito fabriziosestito force-pushed the fix/worker-create-catalog branch from 5d0c560 to 3b1b471 Compare November 11, 2024 14:06
Copy link
Member

@flavio flavio left a comment

Choose a reason for hiding this comment

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

What a PR, that was huge 😅

Everything LGTM, I left some minor comments

Tiltfile Outdated Show resolved Hide resolved
api/storage/v1alpha1/image_metadata.go Show resolved Hide resolved
api/storage/v1alpha1/image_metadata.go Outdated Show resolved Hide resolved
@@ -15,7 +15,7 @@ spec:
labels:
worker: "true"
spec:
serviceAccountName: apiserver
serviceAccountName: controller-manager
Copy link
Member

Choose a reason for hiding this comment

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

Can you add a TODO for that or create an issue to keep track of it?

@fabriziosestito fabriziosestito force-pushed the fix/worker-create-catalog branch from 3b1b471 to 9b26244 Compare November 12, 2024 07:15
@fabriziosestito fabriziosestito force-pushed the fix/worker-create-catalog branch from 9b26244 to 0404e4f Compare November 12, 2024 07:16
@fabriziosestito fabriziosestito merged commit c5fc56c into rancher-sandbox:main Nov 12, 2024
3 checks passed
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.

2 participants