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

Extract custom default values from package tarball #5702

Merged
merged 5 commits into from
Nov 30, 2022

Conversation

absoludity
Copy link
Contributor

Description of the change

This PR begins the work specified in #5692 by updating the AvailablePackageDetail message to include custom default values and updating the tar utils so that they are fetched and returned (if present) when the other files are fetched from a tarball.

Benefits

Possible drawbacks

Applicable issues

Additional information

Signed-off-by: Michael Nelson <minelson@vmware.com>
Signed-off-by: Michael Nelson <minelson@vmware.com>
@netlify
Copy link

netlify bot commented Nov 23, 2022

Deploy Preview for kubeapps-dev canceled.

Name Link
🔨 Latest commit baedc7e
🔍 Latest deploy log https://app.netlify.com/sites/kubeapps-dev/deploys/6386928d6ff17f0008c51e2c

Signed-off-by: Michael Nelson <minelson@vmware.com>
Copy link
Collaborator

@dlaloue-vmware dlaloue-vmware left a comment

Choose a reason for hiding this comment

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

code looks good.

@@ -4582,6 +4574,14 @@
"description": "An example of default values used during package templating that can serve\nas documentation or a starting point for user customization.",
"title": "Available package default values"
},
"customDefaultValues": {
Copy link
Collaborator

Choose a reason for hiding this comment

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

this is just a suggestion, but maybe we can use a more neutral word? The description is using the term extra for example, another term could be "additional" or "alternate"?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'd go for "additional" (as they are layered on top) rather than "alternate" (as they are not instead of), but yep, "additional" is good for me (better than "custom"). I'll update to that. Thanks.

Signed-off-by: Michael Nelson <minelson@vmware.com>
Signed-off-by: Michael Nelson <minelson@vmware.com>
@absoludity absoludity merged commit a4b3098 into main Nov 30, 2022
@absoludity absoludity deleted the 5692-custom-defaults-1 branch November 30, 2022 00:13
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.

3 participants