-
Notifications
You must be signed in to change notification settings - Fork 711
Helm chart fails for Flux HelmRelease #2940
Copy link
Copy link
Closed
Labels
kind/decisionA record of a decision made by the community.A record of a decision made by the community.
Milestone
Description
Description:
Flux HelmChart can't get tags for oci://docker.io/envoyproxy/gateway-helm, probably because those don't strictly follow the Helm specification:
More complex SemVer 2 names are also supported, such as version: 1.2.3-alpha.1+ef365. But non-SemVer names are explicitly disallowed by the system.
This means the v prefix is not allowed. Happened to others before: fluxcd/helm-controller#670, fluxcd/flux2#3766.
Repro steps:
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: envoyproxy
spec:
type: oci
url: oci://docker.io/envoyproxy
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: envoy-gateway
spec:
chart:
spec:
chart: gateway-helm
version: "~1.0.0"
sourceRef:
kind: HelmRepository
name: envoyproxy
status:
conditions:
- lastTransitionTime: "2024-03-15T14:01:03Z"
message: 'HelmChart ''envoy-gateway/envoy-gateway-envoy-gateway'' is not ready:
chart pull error: failed to get chart version for remote reference: could not
get tags for "gateway-helm": unable to locate any tags in provided repository:
oci://docker.io/envoyproxy/gateway-helm'$ skopeo list-tags docker://docker.io/envoyproxy/gateway-helm
{
"Repository": "docker.io/envoyproxy/gateway-helm",
"Tags": [
"v0.0.0-latest",
"v0.4.0",
"v0.4.0-rc.1",
"v0.5.0",
"v0.5.0-rc.1",
"v0.6.0",
"v0.6.0-rc.1",
"v1.0.0",
"v1.0.0-rc.1"
]
}Would be nice to push charts for version 1.0.0 and ongoing without v.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/decisionA record of a decision made by the community.A record of a decision made by the community.