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 PackageVariantSet controller #3707

Merged
merged 3 commits into from
Jan 27, 2023
Merged

Conversation

natasha41575
Copy link
Contributor

@natasha41575 natasha41575 commented Dec 29, 2022

This PR adds the UpstreamPolicy (renamed to PackageVariantSet) as described in this doc and discussed in #3488.

There are some TODOs in this PR that I am working on in a follow-up:

  • Implement the option to specify "tag" rather than a "revision" for the upstream package revision
  • Using "Conditions" rather than a top-level field in the status and other returned errors
  • Implementing the "object set" option for downstream package targets.

This PR also adds a finalizer to the PackageVariant controller to make sure that it cleans up properly before being deleted. (I noticed some issues with its cleanup while trying out the PackageVariantSet controller.)

Relevant issue: #3488

@natasha41575 natasha41575 changed the title Upstream policy add UpstreamPolicy controller Dec 29, 2022
@natasha41575 natasha41575 changed the title add UpstreamPolicy controller WIP: add UpstreamPolicy controller Dec 29, 2022
@natasha41575 natasha41575 force-pushed the UpstreamPolicy branch 4 times, most recently from c89d2e6 to 123fabb Compare January 17, 2023 23:11
@natasha41575 natasha41575 changed the title WIP: add UpstreamPolicy controller WIP: add PackageVariantSet controller Jan 17, 2023
@natasha41575 natasha41575 force-pushed the UpstreamPolicy branch 5 times, most recently from 217c2ad to 9dd1910 Compare January 23, 2023 18:49
@natasha41575 natasha41575 changed the title WIP: add PackageVariantSet controller Add PackageVariantSet controller Jan 23, 2023
@natasha41575
Copy link
Contributor Author

cc @johnbelamaric

@natasha41575 natasha41575 marked this pull request as ready for review January 23, 2023 19:00
@natasha41575 natasha41575 merged commit 59d0bc8 into kptdev:main Jan 27, 2023
@natasha41575 natasha41575 deleted the UpstreamPolicy branch January 27, 2023 05:10
@johnbelamaric
Copy link
Contributor

Woohoo!

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.

None yet

3 participants