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

couldn't find key applicationsetcontroller.policy in ConfigMap argocd/argocd-cmd-params-cm #14158

Closed
3 tasks done
SrDayne opened this issue Jun 21, 2023 · 4 comments · Fixed by #14160
Closed
3 tasks done
Labels
bug Something isn't working

Comments

@SrDayne
Copy link
Contributor

SrDayne commented Jun 21, 2023

Checklist:

  • I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
  • I've included steps to reproduce the bug.
  • I've pasted the output of argocd version.

Describe the bug

When trying to install argocd from HA manifest(https://raw.githubusercontent.com/argoproj/argo-cd/master/manifests/ha/install.yaml) get error couldn't find key applicationsetcontroller.policy in ConfigMap argocd/argocd-cmd-params-cm

In argocd-applicationset-controller Deployment there is no optional field regarding key applicationsetcontroller.policy:

- name: ARGOCD_APPLICATIONSET_CONTROLLER_POLICY
  valueFrom:
    configMapKeyRef:
      key: applicationsetcontroller.policy
      name: argocd-cmd-params-cm

And there is no such key in argocd-cmd-params-cm ConfigMap too:

apiVersion: v1
data:
  redis.server: argocd-redis-ha-haproxy:6379
kind: ConfigMap
metadata:
  labels:
    app.kubernetes.io/name: argocd-cmd-params-cm
    app.kubernetes.io/part-of: argocd
  name: argocd-cmd-params-cm

That is the reason of the error.

To Reproduce

Try to deploy Argocd in HA mode from manifest https://raw.githubusercontent.com/argoproj/argo-cd/master/manifests/ha/install.yaml

Expected behavior

Argocd deployed.

Version

  argocd: v2.5.6+9db2c94
  BuildDate: 2023-01-10T19:55:00Z
  GitCommit: 9db2c9471f6ff599c3f630b446e940d3a065620b
  GitTreeState: clean
  GoVersion: go1.18.9
  Compiler: gc
  Platform: linux/amd64
  argocd-server: v2.8.0+8840929.dirty

Logs
There are no logs, only error event during deploy.

couldn't find key applicationsetcontroller.policy in ConfigMap argocd/argocd-cmd-params-cm
@SrDayne SrDayne added the bug Something isn't working label Jun 21, 2023
@aluopy
Copy link

aluopy commented Jun 21, 2023

I have also encountered this problem.

@crenshaw-dev
Copy link
Member

Good catch, that should definitely be optional. Anyone have a minute to put up a PR?

@SrDayne
Copy link
Contributor Author

SrDayne commented Jun 21, 2023

Anyone have a minute to put up a PR?

Yes, I can take care of it.

@SrDayne
Copy link
Contributor Author

SrDayne commented Jun 21, 2023

Opened PR:
#14160

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
3 participants