mirror of
https://github.com/argoproj/argo-cd.git
synced 2026-02-20 01:28:45 +01:00
Signed-off-by: GuillaumeAssier <sykursen@protonmail.com> Co-authored-by: Nitish Kumar <justnitish06@gmail.com>
78 lines
1.7 KiB
YAML
78 lines
1.7 KiB
YAML
# Repository credentials, for using the same credentials in multiple repositories.
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: argoproj-https-creds
|
|
namespace: argocd
|
|
labels:
|
|
argocd.argoproj.io/secret-type: repo-creds
|
|
stringData:
|
|
url: https://github.com/argoproj
|
|
type: helm
|
|
password: my-password
|
|
username: my-username
|
|
---
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: argoproj-ssh-creds
|
|
namespace: argocd
|
|
labels:
|
|
argocd.argoproj.io/secret-type: repo-creds
|
|
stringData:
|
|
url: git@github.com:argoproj-labs
|
|
type: helm
|
|
sshPrivateKey: |
|
|
-----BEGIN OPENSSH PRIVATE KEY-----
|
|
...
|
|
-----END OPENSSH PRIVATE KEY-----
|
|
---
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: github-creds
|
|
namespace: argocd
|
|
labels:
|
|
argocd.argoproj.io/secret-type: repo-creds
|
|
stringData:
|
|
url: https://github.com/argoproj
|
|
type: helm
|
|
githubAppID: 1
|
|
githubAppInstallationID: 2
|
|
githubAppPrivateKey: |
|
|
-----BEGIN OPENSSH PRIVATE KEY-----
|
|
...
|
|
-----END OPENSSH PRIVATE KEY-----
|
|
---
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: github-enterprise-creds
|
|
namespace: argocd
|
|
labels:
|
|
argocd.argoproj.io/secret-type: repo-creds
|
|
stringData:
|
|
url: https://github.com/argoproj
|
|
type: helm
|
|
githubAppID: 1
|
|
githubAppInstallationID: 2
|
|
githubAppEnterpriseBaseUrl: https://ghe.example.com/api/v3
|
|
githubAppPrivateKey: |
|
|
-----BEGIN OPENSSH PRIVATE KEY-----
|
|
...
|
|
-----END OPENSSH PRIVATE KEY-----
|
|
---
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: private-oci-repo
|
|
namespace: argocd
|
|
labels:
|
|
argocd.argoproj.io/secret-type: repo-creds
|
|
stringData:
|
|
username: my-username
|
|
password: my-password
|
|
project: myproject
|
|
type: oci
|
|
url: oci://my.registry.com/namespace
|