Skip to content

Make repositories to check for newer versions configurable, by chart / namespace, ... #353

Closed
@fibbs

Description

@fibbs

Is your feature request related to a problem? Please describe.
I am having the problem that some charts seem to have several sources with the same name, such as:

Release Name              Installed              Latest           Old     Deprecated
============              =========              ======           ===     ==========
kafka-ui                  0.7.6                  1.4.9            true    false

For kafka-ui I have version 0.7.6 installed, which is the current one on the official repository:

> helm repo ls | grep kafka-ui
kafka-ui                    	https://provectus.github.io/kafka-ui-charts

> helm repo update kafka-ui
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "kafka-ui" chart repository
Update Complete. ⎈Happy Helming!⎈

elm search repo kafka-ui
NAME             	CHART VERSION	APP VERSION	DESCRIPTION
kafka-ui/kafka-ui	0.7.6        	v0.7.2     	A Helm chart for kafka-UI

On artifacthub.io, though, there is a version 1.4.9 in a repo called "kafbat". I am not sure wether this might really be better in this specific case (didn't check yet), but if we suppose I want to stay on exactly this version, it would be nice to configure that THIS specific Chart should only be searched for in THAT repository, somehow.

Describe the solution you'd like
A configuration option to search for either specific names of Helm Charts or for specific namespaces in specific clusters only inside specific repositories. One lovely solution could also be to have a secret or configmap inside the cluster's namespace hinting Nova to search at the right place. The last of my suggestions would even solve a situation where you might have internal registries and Helm Repositories where all upstream charts go through some kind of validation process and are then "published" internally. You could with this check for upstream with one test cluster, and for internal by referencing so with a cluster-internal "ruleset".

Additional context
A "rule-based nova configuration inside the K8S cluster" would also make possible to set unwanted versions like -rc.* or -beta.* per namespace, per chart name or such, maybe with a Regex based ruleset.
But in any case, I would be happy with any other solution that allows me to "pin" helm charts to be found only in specific Helm Repositories.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAdding additional functionality or improvementsstaleMarked as stale by stalebottriageThis bug needs triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions