github.com/argoproj/argo-cd/v3@v3.2.1/docs/operator-manual/argocd-repositories.yaml (about) 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". 4 apiVersion: v1 5 kind: Secret 6 metadata: 7 name: my-private-https-repo 8 namespace: argocd 9 labels: 10 argocd.argoproj.io/secret-type: repository 11 stringData: 12 url: https://github.com/argoproj/argocd-example-apps 13 password: my-password 14 username: my-username 15 bearerToken: my-token 16 project: my-project 17 insecure: "true" # Ignore validity of server's TLS certificate. Defaults to "false" 18 forceHttpBasicAuth: "true" # Skip auth method negotiation and force usage of HTTP basic auth. Defaults to "false" 19 enableLfs: "true" # Enable git-lfs for this repository. Defaults to "false" 20 --- 21 apiVersion: v1 22 kind: Secret 23 metadata: 24 name: my-private-ssh-repo 25 namespace: argocd 26 labels: 27 argocd.argoproj.io/secret-type: repository 28 stringData: 29 url: ssh://git@github.com/argoproj/argocd-example-apps 30 sshPrivateKey: | 31 -----BEGIN OPENSSH PRIVATE KEY----- 32 ... 33 -----END OPENSSH PRIVATE KEY----- 34 insecure: "true" # Do not perform a host key check for the server. Defaults to "false" 35 enableLfs: "true" # Enable git-lfs for this repository. Defaults to "false" 36 --- 37 apiVersion: v1 38 kind: Secret 39 metadata: 40 name: istio-helm-repo 41 namespace: argocd 42 labels: 43 argocd.argoproj.io/secret-type: repository 44 stringData: 45 url: https://storage.googleapis.com/istio-prerelease/daily-build/master-latest-daily/charts 46 name: istio.io 47 project: my-project 48 type: helm 49 --- 50 apiVersion: v1 51 kind: Secret 52 metadata: 53 name: private-helm-repo 54 namespace: argocd 55 labels: 56 argocd.argoproj.io/secret-type: repository 57 stringData: 58 url: https://my-private-chart-repo.internal 59 name: private-repo 60 type: helm 61 password: my-password 62 username: my-username 63 --- 64 apiVersion: v1 65 kind: Secret 66 metadata: 67 name: private-repo 68 namespace: argocd 69 labels: 70 argocd.argoproj.io/secret-type: repository 71 stringData: 72 url: https://github.com/argoproj/private-repo 73 --- 74 apiVersion: v1 75 kind: Secret 76 metadata: 77 name: aci-private-repo 78 namespace: argocd 79 labels: 80 argocd.argoproj.io/secret-type: repository 81 stringData: 82 type: helm 83 url: contoso.azurecr.io/charts 84 name: contosocharts 85 enableOCI: "true" 86 useAzureWorkloadIdentity: "true" 87