ArgoCD リソースの宣言的管理
● 各種 CRD
○ Application / Project …
● ConfigMap や Secret
○ argocd-rbac-cm / argocd-cm / argocd-secret / cluster / repository ...
data:
accounts.tech: apikey,login
repositories: |
- url:
https://github.com/sshota0809/hoge.git
repository.credentials: |
- url:
[email protected]:sshota0809
sshPrivateKeySecret:
name: git-ssh-key
key: sshPrivateKey
...
argocd-cm
data:
policy.csv: |
p, tech, clusters, get, *, allow
p, tech, projects, get, *, allow
p, tech, repositories, get, *, allow
p, tech, accounts, get, *, allow
p, tech, applications, get, */*, allow
p, tech, applications, sync, hoge/*, allow
...
argocd-rbac-cm
data:
accounts.tech.password: xxx
accounts.tech.passwordMtime: xxx
accounts.tech.tokens: xxx
...
argocd-secret