apiVersion: v1
kind: Secret
metadata:
  name: deploy-key
  annotations:
    # This tells us that this credential is for use with
    # github.com repositories.
    build.knative.dev/git-0: github.com
type: kubernetes.io/ssh-auth
data:
  # Generated by doing base64 of your GitHub repo deploy key
  # cat id_rsa | base64 -w 0
  ssh-privatekey: "${github.deploy.key}"

  # Generated by:
  # ssh-keyscan github.com | base64 -w 0
  known_hosts: "${github.keyscan}"