mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-07 08:44:50 +00:00
Signed-off-by: GuillaumeAssier <[email protected]> Co-authored-by: Nitish Kumar <[email protected]>
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: [email protected]: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
|