Closed camilamacedo86 closed 3 years ago
@camilamacedo86 unfortunately, we can't add mandatory categories for a couple reasons:
There are two things that do come to mind:
I'd like to check all lib charts
This part could already be done using the type
field in the Chart.yaml I think? But it's not very useful with only two options.
More generally, yes, it makes sense that a more generic category
field can't be mandatory, but would an optional category
field in the chart.yaml which can accept multiple values from a set of defined categories, be worth considering, or do you think there is no place for a chart category? I know search can be better at finding what people really need, but it seems people still want to filter by category. (I'm not sure if this is what you meant with your point 2)
As it would be optional, we could prompt people when linting a chart, and verify allowed categories when linting (but not enforce, etc.). This could be useful both for helm hub and things like Kubeapps (which is why I'm asking :) ). (Seems this discussion should be against helm/helm though? Let me know if I should start a feature request there, or whether it's already been considered - I can't see an existing issue.)
As the Helm Hub has been turned down, I'm closing this issue.
would be nice to know what is the category of the chart for we are able to search in the repo. For example, I'd like to check all lib charts and/or I'd like to search for all database kinds and etc..