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

feature: actively manage lifecycle of resource schemas #12

Open
1 task
embik opened this issue Jan 23, 2025 · 0 comments
Open
1 task

feature: actively manage lifecycle of resource schemas #12

embik opened this issue Jan 23, 2025 · 0 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@embik
Copy link
Member

embik commented Jan 23, 2025

Feature Description

As of now, we do not update APIExports when the service-side CustomResourceDefinition is updated:

// ARS'es cannot be updated, their entire spec is immutable. For now we do not care about
// CRDs being updated on the service cluster, but in the future (TODO) we must allow
// service owners to somehow publish updated CRDs without changing their API version.

To provide necessary lifecycle / day-2 operations for CRDs that evolve within their lifetime, the api-syncagent should be capable of processing changes to the CRDs.

Proposed Solution

The api-syncagent should process CRDs, create new APIResourceSchemas in kcp and update the APIExport to use the new schemas.

Ideally, we also make sure we don't sync up breaking changes, but I have no fleshed out idea what checks should happen in this case.

Alternative Solutions

No response

Want to contribute?

  • I would like to work on this issue.

Additional Context

No response

@embik embik added the kind/feature Categorizes issue or PR as related to a new feature. label Jan 23, 2025
@embik embik changed the title feature: manage lifecycle of service CRDs feature: actively manage lifecycle of service CRDs Jan 23, 2025
@embik embik changed the title feature: actively manage lifecycle of service CRDs feature: actively manage lifecycle of resource schemas Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

1 participant