Skip to content

Connection to git

Talisman uses Git repository to store project data.

The following Secret should be created

apiVersion: "v1"
kind: "Secret"
metadata:
  name: "talisman"
stringData:
  git-branch: "$YOUR_GIT_DEFAULT_BRANCH"
  git-repository: "https://$YOUR_GIT_REPOSITORY"
  git-username: "$YOUR_GIT_USERNAME"
  git-password: "$YOUR_GIT_PASSWORD"

To use SSH instead of username and password the following command should be used to generate keys:

ssh-keygen -t ECDSA -C "name" -m PEM -f $FILE_NAME

The following Environment variables should be configured

KARAVAN_GIT_REPOSITORY=https://$YOUR_GIT_REPOSITORY
KARAVAN_GIT_USERNAME=$YOUR_GIT_USERNAME
KARAVAN_GIT_PASSWORD=$YOUR_GIT_PASSWORD
KARAVAN_GIT_BRANCH=$YOUR_GIT_DEFAULT_BRANCH