-
Right now it's just a template folder instead of a sub-chart like redis-ha. I'd like to have more than 1 replica on dex for at least some redundancy. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi, I had same question. After looking into the manifest you will find there is argo-dex CLI utility that reconfigures internals of Dex server and forces restarts when user does change in argocd-cm with Dex configuration. This utility hardcodes in-memory database for sessions so it's not possible to run multiple replicas that require some kind of external storage. Enabling multiple replicas means you either add yet another chart for running single instance database or using extranl database or using K8s cluster admin resources that would break namespaced installations for some users. Personally I would recommend to disable dex and use oauth if possible with external OAuth2 provider such as GitHub instead. Dex is necessary only for LDAP server integrations and it will be always weak link for whole setup for the reasons mentioned above. |
Beta Was this translation helpful? Give feedback.
Hi, I had same question. After looking into the manifest you will find there is argo-dex CLI utility that reconfigures internals of Dex server and forces restarts when user does change in argocd-cm with Dex configuration. This utility hardcodes in-memory database for sessions so it's not possible to run multiple replicas that require some kind of external storage. Enabling multiple replicas means you either add yet another chart for running single instance database or using extranl database or using K8s cluster admin resources that would break namespaced installations for some users. Personally I would recommend to disable dex and use oauth if possible with external OAuth2 provider such a…