Skip to main content

ArgoAddRepoSSHAuthSecret

apiVersion: v1
kind: Secret
metadata:
  name: k-gitops-configs-repo-ssh-secret
  namespace: argocd
  labels:
    argocd.argoproj.io/secret-type: repository
  annotations:
    managed-by: argocd.argoproj.io
stringData:
  name: k-gitops-configs-repo-ssh-secret
  project: default
  type: git
  url: git@bitbucket.org:workspace/kubernetes-gitops-configs.git
  sshPrivateKey: |
    -----BEGIN OPENSSH PRIVATE KEY-----
    kldi3J+Ia7LkK
    add your SSH Key which is added in github auth 
    ZvkaJG+l95izAAAACmFyZ29jGZEBla3M=
    -----END OPENSSH PRIVATE KEY-----