You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
allow for charts from OCI registries to specify a chart path
This change allows for a HelmRepository to point to e.g. "ghcr.io" and
then a HelmRelease pointing to the chart "stefanprodan/charts/podinfo"
in its `.spec.chart.spec.chart` field.
Related discussion: fluxcd/flux2#2959
Signed-off-by: Max Jonas Werner <max@e13.dev>
returnfmt.Errorf("no name set for remote chart reference")
83
83
}
84
-
name:=regexp.MustCompile("^([-a-z0-9]*)$")
84
+
name:=regexp.MustCompile("^([-a-z0-9]+/?)+$")
85
85
if!name.MatchString(r.Name) {
86
-
returnfmt.Errorf("invalid chart name '%s': a valid name must be lower case letters and numbers and MAY be separated with dashes (-)", r.Name)
86
+
returnfmt.Errorf("invalid chart name '%s': a valid name must be lower case letters and numbers and MAY be separated with dashes (-) or slashes (/)", r.Name)
0 commit comments