HelmRepository is immediately deleted without any errors #4996
-
Hello. So I created a flux installation cycle where I'm installing cert-manager and some config using kustomize and I'm using a script to install this like this: #!/usr/bin/env bash
# setup flux cluster reconilication
flux create source git flux-system \
--url=https://github.com/open-component-model/ocm-controller \
--branch=${BRANCH} \
--username=${GITHUB_USER} \
--password=${GITHUB_TOKEN} \
--ignore-paths="clusters/**/flux-system/"
flux create kustomization flux-system \
--source=flux-system \
--path=./deploy/flux/infra
What I'm observing is that cert-manager and the config is correctly installed but as soon as the ocm-controller HelmRepository gets reconciled and what I assume is a success because of the logs herE:
it IMMEDIATELY gets deleted. Like, puff, it vanishes. The interesting part is that the HelmRelease still reconciles~
And doesn't error only after 5m it says, nope no luck. helm-controller doesn't show any errors either:
I'm not sure what's going on... Please help? :D Flux version
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 10 replies
-
Check the kustomize-controller logs for that HelmRepository, it will tell if it gets garbage collected. |
Beta Was this translation helpful? Give feedback.
-
If I apply this HelmRepository: apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: ocm-controller
namespace: ocm-system
spec:
interval: 15m
type: "oci"
url: oci://ghcr.io/open-component-model/helm It's reconciled and then immediately deleted... WHY?
|
Beta Was this translation helpful? Give feedback.
-
Same happens if I try it with an OCIRepository. It says, all good, reconciled, and then just removes it. |
Beta Was this translation helpful? Give feedback.
-
Looks like this chart messes up with the namespace and at install all things are GCed... |
Beta Was this translation helpful? Give feedback.
Looks like this chart messes up with the namespace and at install all things are GCed...