Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't synchronize ArgoCD App #15100

Closed
pbrissaud opened this issue Nov 25, 2024 · 1 comment · Fixed by #15103
Closed

Can't synchronize ArgoCD App #15100

pbrissaud opened this issue Nov 25, 2024 · 1 comment · Fixed by #15103
Labels
type/bug Somehing is not working as expected

Comments

@pbrissaud
Copy link
Contributor

Describe the bug
I'm trying to install Loki using ArgoCD, but I encounter the following error during the installation process:

Failed to load target state: failed to generate manifest for source 1 of 2: rpc error: code = Unknown desc = failed to initialize repository resources: rpc error: code = Internal desc = Failed to checkout FETCH_HEAD: `git submodule update --init --recursive` failed exit status 128: fatal: No url found for submodule path '_shared-workflows-dockerhub-login' in .gitmodules

This error is similar to the issues discussed in #14896 and #14966, which were fixed last week by PR #14883. It appears to be caused by an extra file referencing a git submodule. However, this problem has been reintroduced in commit 5897e08, which was made after the fix in PR #14883.

To Reproduce
Steps to reproduce the behavior:

  1. Set up ArgoCD to deploy Loki.
  2. Attempt to sync the Loki deployment.
  3. Encounter the error during the sync process.

Expected behavior
Loki should be successfully deployed via ArgoCD without any submodule issues.

Environment:

  • Infrastructure: Kubernetes GKE
  • Deployment tool: ArgoCD - Helm + values files

Screenshots, Promtail config, or terminal output

ArgoCD app spec

project: default
destination:
  namespace: loki
  name: kube-central
syncPolicy:
  syncOptions:
    - CreateNamespace=true
    - RespectIgnoreDifferences=true
ignoreDifferences:
  - kind: Secret
    name: loki-gateway
    jsonPointers:
      - /data/.htpasswd
sources:
  - repoURL: https://grafana.github.io/helm-charts
    targetRevision: x
    helm:
      valueFiles:
        - $values/production/helm/loki/simple-scalable-values.yaml
      releaseName: loki
    chart: loki
  - repoURL: https://github.com/grafana/loki
    targetRevision: main
    ref: values
@julian-sanz-code-seat
Copy link

Completely agree with you @pbrissaud. I have the same problem again.

@trevorwhitney could you check it again, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Somehing is not working as expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants