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

Add RootSyncDeployment controller #3653

Merged
merged 1 commit into from
Nov 22, 2022
Merged

Conversation

mortent
Copy link
Contributor

@mortent mortent commented Nov 8, 2022

This adds a new CRD and controller that builds upon the RootSyncSet type to support progressive rollouts of PackageRevisions from Porch. It uses label selectors to find remote clusters represented as Config Connector resources in the local cluster and then creates RootSyncSet resources representing each. Whenever the referenced PackageRevision is changed, the update will be rolled out progressively. Sync status is currently the only signal, but we can expand on that to include reconciliation status and possibly other external systems.

Demo: https://drive.google.com/file/d/1zlqlSLNOR25v8Kb9qOAXd-ymRHkxOCRh/view?usp=share_link

}

type result struct {
apiVersion string
Copy link
Contributor

Choose a reason for hiding this comment

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

Why make a new type here instead of just using the ClusterRefStatus type directly?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hmm that is an excellent question. I've updated the PR to just use ClusterRefStatus directly.

@mortent mortent merged commit 4fe5d7f into kptdev:main Nov 22, 2022
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.

2 participants