LoginSignup
4
2

More than 5 years have passed since last update.

Argo CD でプライベートリポジトリにアクセスできるようにする

Last updated at Posted at 2019-02-26

バージョン

  • argocd: v0.11.1+bdeecc2
  • argocd-server: v0.11.2+1e5d08c

方法

argocd repo add コマンドを使うと関連リソースを自動で作ってくれる。
普通argocd自体の設定もGitレポジトリで管理すると思うが、その前にこのコマンドで作ってしまってそこからYAMLを清書すると楽。

$ argocd repo add git@github.com:${USER}/${REPO}.git --ssh-private-key-path ~/.ssh/${PRIVKEY}
4
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
2