Skip to content

Instantly share code, notes, and snippets.

@jkeam
Last active July 19, 2022 05:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jkeam/1ce57fe4283c419601a12dbe26e257eb to your computer and use it in GitHub Desktop.
Save jkeam/1ce57fe4283c419601a12dbe26e257eb to your computer and use it in GitHub Desktop.
Secret needed by Dev Spaces for GitHub access.
apiVersion: v1
kind: Secret
metadata:
name: git-credentials-secret
labels:
controller.devfile.io/git-credential: 'true'
controller.devfile.io/watch-secret: 'true'
annotations:
controller.devfile.io/mount-path: /etc/secret
stringData:
credentials: https://github_username:github_token@github.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment