Last active
June 8, 2022 03:27
-
-
Save smilelikeshit/b9f92d3a81133bb3a411087fea15dc74 to your computer and use it in GitHub Desktop.
argocd-cm ssh repository
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: argocd-cm | |
namespace: argocd | |
labels: | |
app.kubernetes.io/name: argocd-cm | |
app.kubernetes.io/part-of: argocd | |
data: | |
repositories: | | |
- name: repo-example | |
url: [email protected]:xxx/example.git | |
type: git | |
insecure: true | |
insecureIgnoreHostKey: true | |
sshPrivateKeySecret: | |
name: private-repo-creds-bitbucket | |
key: sshPrivateKey | |
--- | |
apiVersion: v1 | |
kind: Secret | |
metadata: | |
name: private-repo-creds-bitbucket | |
namespace: argocd | |
labels: | |
argocd.argoproj.io/secret-type: repo-creds | |
data: | |
sshPrivateKey: base64 encode <your ssh private key> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment