Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
LinuxSuRen authored Oct 7, 2023
1 parent 9666a1c commit 69788b3
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,26 @@ spec:
## 模板工具
TODO
## Git 仓库
Argo CD 支持 HTTPS、SSH 协议的 Git 仓库,下面的例子中使用的是 SSH 协议:
```yaml
apiVersion: v1
data:
insecure: dHJ1ZQ==
project: ZGVmYXVsdA==
sshPrivateKey: eW91ci12YWx1ZQ==
type: Z2l0
url: Z2l0QGdpdGh1Yi5jb206ZGV2b3BzLXdzL2FyZ28tY2QtZ3VpZGUuZ2l0
kind: Secret
metadata:
labels:
argocd.argoproj.io/secret-type: repository # 表明这会被 Argo CD 识别为仓库(Git、Helm 等)
name: repo-1108037796 # 以 repo- 为前缀的名称,通过 UI 创建时会自动生成
namespace: argocd
type: Opaque
```
## Webhook
TODO
Expand Down

0 comments on commit 69788b3

Please sign in to comment.