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 GetInstalledPackageResourceRefs to packages API and implement in Helm. #3581

Merged
merged 7 commits into from
Nov 9, 2021

Conversation

absoludity
Copy link
Contributor

@absoludity absoludity commented Oct 12, 2021

Description of the change

Draft.

Adds the definition for a GetInstalledPackageResourceRefs endpoint to the core.packaging API, with an implementation for the helm plugin and the aggregated core plugin. It's the more obvious part for the work in #3403.

See the relevant section in the design doc which also links to the resources plugin function for getting the resources themselves.

Benefits

Each packaging plugin is able to return a Kubernetes GroupVersionKind and a name, uniquely identifying all resources created by an installed package.

Enables the further work so that the resources for an installed package can be fetched by clients (without requiring re-implementation by each packaging plugin, since it's not packaging specific).

Possible drawbacks

Applicable issues

Additional information

@absoludity absoludity marked this pull request as draft October 12, 2021 05:39
@stale
Copy link

stale bot commented Oct 29, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Automatic label to stale issues due inactivity to be closed if no further action label Oct 29, 2021
@absoludity absoludity removed the stale Automatic label to stale issues due inactivity to be closed if no further action label Oct 31, 2021
@absoludity absoludity force-pushed the 3403-GetResourceRefs branch 3 times, most recently from c899464 to 5f94523 Compare November 4, 2021 01:13
@absoludity absoludity changed the title Add GetResourceRefs to packages API and implement in Helm. Add GetInstalledPackageResourceRefs to packages API and implement in Helm. Nov 4, 2021
Signed-off-by: Michael Nelson <minelson@vmware.com>
Signed-off-by: Michael Nelson <minelson@vmware.com>
Signed-off-by: Michael Nelson <minelson@vmware.com>
Signed-off-by: Michael Nelson <minelson@vmware.com>
Signed-off-by: Michael Nelson <minelson@vmware.com>
Signed-off-by: Michael Nelson <minelson@vmware.com>
Signed-off-by: Michael Nelson <minelson@vmware.com>
Copy link
Contributor

@gfichtenholt gfichtenholt left a comment

Choose a reason for hiding this comment

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

I skipped generated files, tests and typescript (front end) code. What's left looks good. +1

@absoludity absoludity merged commit 1bcdedb into master Nov 9, 2021
@absoludity absoludity deleted the 3403-GetResourceRefs branch November 9, 2021 23:26
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