Skip to content
This repository was archived by the owner on Jan 13, 2026. It is now read-only.

Extract custom default values from package tarball#5702

Merged
absoludity merged 5 commits into
mainfrom
5692-custom-defaults-1
Nov 30, 2022
Merged

Extract custom default values from package tarball#5702
absoludity merged 5 commits into
mainfrom
5692-custom-defaults-1

Conversation

@absoludity
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
Contributor

@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.

"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
Copy Markdown
Contributor

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
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants