installing cozystack latest fails -CrashLoopBackOff
PaaS and framework that replace or compete with AWS, VMware
Brought to you by:
cozystack
Originally created by: outbackdingo
kubectl logs -n cozy-system deploy/cozystack -f
deployment.apps/helm-controller condition met
error: timed out waiting for the condition on helmreleases/fluxcd
make: Entering directory '/cozystack/packages/system/cilium'
make: git: No such file or directory
/bin/sh: git: not found
make: git: No such file or directory
kubectl patch hr -n cozy-cilium cilium -p '{"spec": {"suspend": true}}' --type=merge --field-manager=flux-client-side-apply
helmrelease.helm.toolkit.fluxcd.io/cilium patched (no change)
kubectl get hr -n cozy-cilium cilium -o jsonpath='{.spec.values}' | NAMESPACE=cozy-cilium NAME=cilium \
helm upgrade -i --post-renderer ../../../scripts/fluxcd-kustomize.sh -n cozy-cilium cilium . -f values.yaml -f values-talos.yaml -f values-kubeovn.yaml -f -
Release "cilium" does not exist. Installing it now.
Error: Unable to continue with install: ClusterRole "cilium" in namespace "" exists and cannot be imported into the current release: invalid ownership metadata; label validation error: missing key "app.kubernetes.io/managed-by": must be set to "Helm"; annotation validation error: missing key "meta.helm.sh/release-name": must be set to "cilium"; annotation validation error: missing key "meta.helm.sh/release-namespace": must be set to "cozy-cilium"
make: Leaving directory '/cozystack/packages/system/cilium'
make: *** [../../../scripts/package.mk:13: apply] Error 1
time="2025-05-26T03:27:56Z" level=fatal msg="failed to run" err="exit status 2"
Originally posted by: rdziwinski
Hi, did you disable all CNI plugins?
"All CNI plugins must be disabled, as Cozystack will install its own plugin."