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

Argo CD Dex with OpenShift integration possible? #17977

Open
JensBammens opened this issue Apr 26, 2024 · 0 comments
Open

Argo CD Dex with OpenShift integration possible? #17977

JensBammens opened this issue Apr 26, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@JensBammens
Copy link

Checklist:

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

Describe the bug

Operator release 0.9.1 does not function with Argo CD Dex. Is the OpenShift integration compatible with the static client? When we leave out connectors: [] it results in an invalid Dex config.

To Reproduce

spec:
  sso:
    dex:
      config: |
        staticClients:
        - id: argo-workflows-sso
          name: Argo Workflow
          secretEnv: ARGO_WORKFLOWS_SSO_CLIENT_SECRET
          redirectURIs:
            - https://argoworkflows.example.com/oauth2/callback
      env:
        - name: ARGO_WORKFLOWS_SSO_CLIENT_SECRET
          valueFrom:
            secretKeyRef:
              key: client-secret
              name: argo-workflows-sso
      openShiftOAuth: true
    provider: dex

  additionalConfig:
    dex.config: |
      logger:
        level: debug
        format: json
      connectors: []
      staticClients:
      - id: argo-workflows-sso
        name: Argo Workflow
        secretEnv: ARGO_WORKFLOWS_SSO_CLIENT_SECRET
        redirectURIs:
          - https://argoworkflows.example.com/oauth2/callback

Expected behavior

Authentication should remain functional for OpenShift and there should be a static client available.

Screenshots

Version

v2.10.5+335875d

Logs

Paste any relevant application logs here.
@JensBammens JensBammens added the bug Something isn't working label Apr 26, 2024
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

1 participant