argo-cd
69 строк · 2.0 Кб
1# Git repositories configure Argo CD with (optional).
2# This list is updated when configuring/removing repos from the UI/CLI
3# Note: the last example in the list would use a repository credential template, configured under "argocd-repo-creds.yaml".
4apiVersion: v15kind: Secret6metadata:7name: my-private-https-repo8namespace: argocd9labels:10argocd.argoproj.io/secret-type: repository11stringData:12url: https://github.com/argoproj/argocd-example-apps13password: my-password14username: my-username15insecure: "true" # Ignore validity of server's TLS certificate. Defaults to "false"16forceHttpBasicAuth: "true" # Skip auth method negotiation and force usage of HTTP basic auth. Defaults to "false"17enableLfs: "true" # Enable git-lfs for this repository. Defaults to "false"18---
19apiVersion: v120kind: Secret21metadata:22name: my-private-ssh-repo23namespace: argocd24labels:25argocd.argoproj.io/secret-type: repository26stringData:27url: ssh://git@github.com/argoproj/argocd-example-apps28sshPrivateKey: |29-----BEGIN OPENSSH PRIVATE KEY-----
30...
31-----END OPENSSH PRIVATE KEY-----
32insecure: "true" # Do not perform a host key check for the server. Defaults to "false"33enableLfs: "true" # Enable git-lfs for this repository. Defaults to "false"34---
35apiVersion: v136kind: Secret37metadata:38name: istio-helm-repo39namespace: argocd40labels:41argocd.argoproj.io/secret-type: repository42stringData:43url: https://storage.googleapis.com/istio-prerelease/daily-build/master-latest-daily/charts44name: istio.io45type: helm46---
47apiVersion: v148kind: Secret49metadata:50name: private-helm-repo51namespace: argocd52labels:53argocd.argoproj.io/secret-type: repository54stringData:55url: https://my-private-chart-repo.internal56name: private-repo57type: helm58password: my-password59username: my-username60---
61apiVersion: v162kind: Secret63metadata:64name: private-repo65namespace: argocd66labels:67argocd.argoproj.io/secret-type: repository68stringData:69url: https://github.com/argoproj/private-repo