github.com/argoproj/argo-cd/v2@v2.10.9/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    insecure: "true" # Ignore validity of server's TLS certificate. Defaults to "false"
    16    forceHttpBasicAuth: "true" # Skip auth method negotiation and force usage of HTTP basic auth. Defaults to "false"
    17    enableLfs: "true" # Enable git-lfs for this repository. Defaults to "false"
    18  ---
    19  apiVersion: v1
    20  kind: Secret
    21  metadata:
    22    name: my-private-ssh-repo
    23    namespace: argocd
    24    labels:
    25      argocd.argoproj.io/secret-type: repository
    26  stringData:
    27    url: ssh://git@github.com/argoproj/argocd-example-apps
    28    sshPrivateKey: |
    29      -----BEGIN OPENSSH PRIVATE KEY-----
    30      ...
    31      -----END OPENSSH PRIVATE KEY-----
    32    insecure: "true" # Do not perform a host key check for the server. Defaults to "false"
    33    enableLfs: "true" # Enable git-lfs for this repository. Defaults to "false"
    34  ---
    35  apiVersion: v1
    36  kind: Secret
    37  metadata:
    38    name: istio-helm-repo
    39    namespace: argocd
    40    labels:
    41      argocd.argoproj.io/secret-type: repository
    42  stringData:
    43    url: https://storage.googleapis.com/istio-prerelease/daily-build/master-latest-daily/charts
    44    name: istio.io
    45    type: helm
    46  ---
    47  apiVersion: v1
    48  kind: Secret
    49  metadata:
    50    name: private-helm-repo
    51    namespace: argocd
    52    labels:
    53      argocd.argoproj.io/secret-type: repository
    54  stringData:
    55    url: https://my-private-chart-repo.internal
    56    name: private-repo
    57    type: helm
    58    password: my-password
    59    username: my-username
    60  ---
    61  apiVersion: v1
    62  kind: Secret
    63  metadata:
    64    name: private-repo
    65    namespace: argocd
    66    labels:
    67      argocd.argoproj.io/secret-type: repository
    68  stringData:
    69    url: https://github.com/argoproj/private-repo