Skip to content

Commit c13a914

Browse files
committed
Steps for creating github secret #1
1 parent 17062fd commit c13a914

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

kubectl-gh-actions.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
- Assuming you followed [manual-remote-access.md](./manual-remote-access.md), you should now have remote access to your minikube cluster set up
2+
3+
# Steps
4+
5+
1. Make the JWT token accessible to the GitHub runner
6+
7+
- Note that generated JWT tokens are relatively short-lived, but you can extend their validity by passing `--duration=<timespan>` to `kubectl create token`
8+
- e.g. `kubectl create-token remote-dev --duration=12h` for a token valid for 12 hours
9+
- We probably don't want to use these in production, your kubernetes provider (e.g. EKS) may offer a better means of authentication
10+
11+
- On the webpage for your repo:
12+
- Settings -> Secrets and Variables -> Actions -> New Repository Secret
13+
- Set the name to `JWT_AUTH_TOKEN`
14+
- Set the value to the JWT token you generated

0 commit comments

Comments
 (0)