Install ArgoCD

Create namespace

kubectl create namespace argocd

Install ArgoCD

kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml

Get admin’s password

kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d

Set port-forwarding to argocd-server

kubectl -n argocd port-forward svc/argocd-server -n argocd 8080:443

Add Git Repository

argocd login --insecure localhost:8080
argocd repo add git@gitlab.com:example.git --ssh-private-key-path ~/.ssh/gitlab_rsa.key

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です