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
During a local installation using make dev-apply, I get the following error:
2025-01-07T06:58:17Z ERROR failed to create Management object {"controller": "release", "controllerGroup": "hmc.mirantis.com", "controllerKind": "Release", "Release": {"name":""}, "namespace": "", "name": "", "reconcileID": "c4ad7224-a814-464b-ad34-eca7e63be5f6", "controller": "ReleaseController", "error": "expected 1 Release with version , found 0"}
Although, the Release object exists on the cluster, the controller isn't able to pick it up. I suspect that the issue might be with how we are packing the helm charts vs how we are trying to fetch them.
During the build process, we push the images with tags such as 0.0.3, 0.0.4, 0.0.5 etc. eg: ghcr.io/bnallapeta/charts/hmc-templates:0.0.5
But the Release object is given the tag version: 0.0.5-43-g15ab847 - the suffix here being Git hash (coming from here).
And hence the status of the Release object shows this. It is coming from here:
status:
conditions:
- lastTransitionTime: "2025-01-07T07:33:05Z"
message: 'HelmRelease hmc-system/hmc-0-0-5-tpl is not ready yet. HelmChart ''hmc-system/hmc-0-0-5-tpl''
is not ready: chart pull error: failed to download chart for remote reference:
failed to get ''oci://ghcr.io/bnallapeta/charts/hmc-templates:0.0.5-43-g15ab847'':
ghcr.io/bnallapeta/charts/hmc-templates:0.0.5-43-g15ab847: not found'
observedGeneration: 1
reason: Failed
status: "False"
type: TemplatesCreated
observedGeneration: 1
I see this only while using another GHCR repo for images and charts and not while using the local registry.
To Reproduce
Steps to reproduce the behavior:
Set IMG and REGISTRY_REPO to a separate GHCR repo - eg: ghcr.io/bnallapeta
Run make dev-apply
Expected behavior
This conflict should not occur. Installation should proceed as expected with all k0rdent components installed.
The text was updated successfully, but these errors were encountered:
Describe the bug
During a local installation using
make dev-apply
, I get the following error:Although, the Release object exists on the cluster, the controller isn't able to pick it up. I suspect that the issue might be with how we are packing the helm charts vs how we are trying to fetch them.
During the build process, we push the images with tags such as 0.0.3, 0.0.4, 0.0.5 etc. eg:
ghcr.io/bnallapeta/charts/hmc-templates:0.0.5
But the Release object is given the tag
version: 0.0.5-43-g15ab847
- the suffix here being Git hash (coming from here).And hence the status of the Release object shows this. It is coming from here:
I see this only while using another GHCR repo for images and charts and not while using the local registry.
To Reproduce
Steps to reproduce the behavior:
make dev-apply
Expected behavior
This conflict should not occur. Installation should proceed as expected with all k0rdent components installed.
The text was updated successfully, but these errors were encountered: