argoproj-labs / argocd-operator

A Kubernetes operator for managing Argo CD clusters.
https://argocd-operator.readthedocs.io
Apache License 2.0
657 stars 762 forks source link

After upgrade argocd operator from v0.0.14 to .v0.0.15 credentials templates disappear. #334

Open javiermmenendez opened 3 years ago

javiermmenendez commented 3 years ago

Describe the bug OpenShift v4.6 After update from v0.0.14 to .v0.0.15 credentials template is removed and is not possible to recreate. Operator allways removes them after a while.

argocd-cm v0.0.14 ...................................... apiVersion: v1 data: dex.config: | connectors:

argocd-cm v0.0.15 ...................................... apiVersion: v1 data: dex.config: | connectors:

To Reproduce Steps to reproduce the behavior:

  1. On OpenShift Operators management agree to upgrade to v0.0.15
  2. After the upgrade credentials template is removed and doesn't work any longer.

Expected behavior We expect to keep the previous configuration regarding to credentials. We expect to be able to use template credentials as it used to be in previous versions.

javiermmenendez commented 3 years ago

I have already solved this issue. In operator version 0.0.14 this configmap could be changed and operator doesn't modify this configuration. From v0.0.15 It seems that the operator delete all the cm configuration. In order to include a repository credentila you need to do this in Argocd CR instance.