Skip to content

Latest commit

 

History

History

atlantis

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Deprecated in most of use cases after runatlantis/atlantis#711 was merged

  1. Make sure that secret {{ template "atlantis.fullname" . }}-git-ssh exists in the same namespace with Atlantis if you're not using gitSSh create from values. It can be created with this command:
kubectl create secret generic atlantis-gitlab-ssh --from-file=id_rsa_ci_bot=id_rsa_ci_bot --from-file=config=ssh_config -n infra
  1. SSH config file should look like this:
Host gitlab-service.example.com
    IdentityFile ~/.ssh/id_rsa_ci_bot
    StrictHostKeyChecking No
  1. Git config can look like this:
[url "https://oauth2:[email protected]"]
    insteadOf = https://gitlab.com