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

ArgoCDExport image doesn't work with Argo CD v2.13.x artifacts #1631

Open
svghadi opened this issue Dec 20, 2024 · 0 comments
Open

ArgoCDExport image doesn't work with Argo CD v2.13.x artifacts #1631

svghadi opened this issue Dec 20, 2024 · 0 comments

Comments

@svghadi
Copy link
Collaborator

svghadi commented Dec 20, 2024

Describe the bug
ArgoCDExport export fails to backup Argo CD when the image is built using v2.13.x artifacts. build/util/Dockerfile uses upstream Argo CD image for argocd-cli to back up Argo CD instances. However, with latest version, few things have changed which result into back up failure.

To Reproduce
Steps to reproduce the behavior:

  1. Update build/util/Dockerfile to point to latest Argo CD image
  2. Build & push util image UTIL_IMG=quay.io/<your-user>/argocd-operator-util:test make util-build util-push
  3. Reference new util image in ArgoCDDefaultExportJobImage & ArgoCDDefaultExportJobVersion in common/defaults.go file.
  4. Run operator make install run
  5. Create ArgoCD and ArgoCDExport resource
apiVersion: argoproj.io/v1alpha1
kind: ArgoCD
metadata:
  name: example-argocd
spec: {}
---
apiVersion: argoproj.io/v1alpha1
kind: ArgoCDExport
metadata:
  name: example-argocdexport
spec:
  argocd: example-argocd
  1. Check export pod logs for error
$ kubectl -n kuttl-test-measured-bluegill logs pod/example-argocdexport-rtrrd 
exporting argo-cd
creating argo-cd backup
time="2024-12-20T05:39:16Z" level=fatal msg="configmaps \"argocd-cmd-params-cm\" not found"

Expected behavior
The backup should happen without any failures.

Additional context
For now, to unblock the release, Argo CD version in pinned to v2.12.3 in argocd-operator-util image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant