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

https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml contains argocd:v2.13.0-rc1 #19949

Closed
murand78 opened this issue Sep 16, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@murand78
Copy link

Stable channel manifest contains v2.13.0-rc1 version.

Currently installations done with autopilot points at this repo and automatically sync.
( https://github.com/argoproj-labs/argocd-autopilot/blob/main/manifests/base/kustomization.yaml ) .

( and in my case argocd-notifications-controller is in CrashLoopBackOff :-( )

@murand78 murand78 added the bug Something isn't working label Sep 16, 2024
@liron-telemessage
Copy link

my case here as well, anyone knows how to resolve this issue?

@murand78
Copy link
Author

murand78 commented Sep 16, 2024

Replace the resources in the base kustomization used by autopilot in YOUR git repo where autopilot is installed at
/bootstrap/argocd/kustomization.yaml, for example from

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: argocd
resources:
- github.com/argoproj-labs/argocd-autopilot/manifests/base?ref=v0.4.17

to

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: argocd
resources:
- ./autopilot-manifests/base

Create a directory under bootstrap/argocd/autopilot-manifests/base with the following kustomization.yaml

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
  - https://raw.githubusercontent.com/argoproj/argo-cd/v2.12.3/manifests/install.yaml

configMapGenerator:
  - name: argocd-cm
    behavior: merge
    literals:
      - "timeout.reconciliation=15s"

patches:
  # reset the crbs to `subject.namespace: default`, so that argo-cd will later change them to the actual ns
  - target:
      group: rbac.authorization.k8s.io
      version: v1
      kind: ClusterRoleBinding
    patch: |-
      - op: replace
        path: /subjects/0/namespace
        value: default

Test with $ bootstrap/argocd : kustomize build . that everything is ok and push the repo.

This will override the default manifest. Note that argocd version will be will locked to v2.12.3 and not updated automatically.

@liron-smarsh
Copy link

liron-smarsh commented Sep 16, 2024

@pasha-codefresh, can you revert the version back please?

@reggie-k
Copy link
Member

reggie-k commented Sep 16, 2024

This was a problem with the 2.13 pre-release, now fixed, please confirm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants