loft icon indicating copy to clipboard operation
loft copied to clipboard

Install loft by Argo CD seems stucking in Syncing, except first time

Open yaosiang opened this issue 4 years ago • 1 comments

I am using OpenShift + Argo CD to install loft, the following is my Argo CD manifest. The manifest tells Argo CD to use helm to install loft and feeding some vaules to do customization.

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: loft
spec:
  destination:
    namespace: loft
    server: https://kubernetes.default.svc
  project: default
  source:
    repoURL: https://charts.loft.sh
    targetRevision: 1.15.0
    chart: loft
    helm:
      values: |
        ingress:
          enabled: false
  syncPolicy:
    syncOptions:
    - CreateNamespace=true 
    automated:
      prune: true
      selfHeal: true

It can be sync loft succssfully at first time.

But, after deleting all resource installed by loft, including loft-agent, APIService, CRD, RBAC...everything. It seems unable to sync loft again and Argo CD keep stucking in Syncing status.

Any suggestion or experience for how to install loft by Argo CD or any other GitOps tools?

yaosiang avatar Oct 19 '21 03:10 yaosiang

Hello @yaosiang! Sorry for letting this hang so long, it sounds like not all resources are correctly cleaned up, are there any leftover apiservices or validatingwebhookconfigurations that might prevent argo from syncing?

FabianKramm avatar Nov 25 '21 07:11 FabianKramm

I'm going to close this out as it is pretty old at this point, but absolutely re-open if this is still an issue as we definitely would want to figure out what is going on if its still happening!

carlmontanari avatar Nov 02 '22 20:11 carlmontanari