본문 바로가기
공부/Open Source

[ArgoCD/helm] Github OAuth 붙이기

by haejang 2023. 11. 5.
728x90
728x90

 

 

https://artifacthub.io/packages/helm/argo/argo-cd

 

argo-cd 5.50.1 · argoproj/argo

A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.

artifacthub.io

 

 

# 1. Github OAuth Client 만들기

  • homepage URL : Airflow 도메인
  • Authotization callback URL : Airflow 도메인 + /api/dex/callback

 

# 2. argocd helm value 추가

configs:
  cm:
    url: https://${argocd 도메인}
    dex.config: |
      connectors:
        # GitHub example
        - type: github
          id: github
          name: GitHub
          config:
            clientID: ${github_clientID}
            clientSecret: ${github_clientSecret}
            orgs:
            - name: ${Github ORG 이름}

 

 

 

 

728x90
728x90

댓글