Configure a GitHub artifact account

Configure a GitHub artifact account so that Spinnaker can download files from GitHub.

Prerequisites

Download credentials

Start by generating an access token for GitHub. The token requires the repo scope.

Add the credentials either to a secrets manager for use by reference or to a volume mounted into the clouddriver pods by modifying the deployment.yaml for clouddriver.

Add the account and enable it

Add the below to clouddriver-local.yml to enable artifacts and add a github account

artifacts:
  enabled: true
  github:
    enabled: true
    accounts:
    - name: my-github-account
      tokenFile: /mnt/some/file|secretReference

There are more options available if you look at the github account definition code