Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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