Commit Graph

116 Commits

Author SHA1 Message Date
d0556dc92f
Cleaned up pre-flight checks
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2021-12-14 08:24:18 +00:00
d28d49cb04
Ensure MC context is updated each time gs-login is used
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2021-12-14 08:07:58 +00:00
3024bbd0cc
Added lookup for MC if no args given to gs-login
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2021-12-14 07:49:42 +00:00
586538f14f
Catch errors rather than exit early
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2021-12-13 15:11:38 +00:00
56e07cfd24
Set kubeconfig file on login
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2021-12-13 15:11:17 +00:00
83978cc429
Fix namespace selector
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2021-12-08 08:34:05 +00:00
1dfe84005b
Fix bash substring for older bash
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2021-12-08 08:22:05 +00:00
927cf87bae
MC login fallback if Dex down
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2021-12-07 13:04:19 +00:00
622b9b16a8
Fix gs-login
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2021-12-07 12:44:20 +00:00
b1ca06ca1c
Improved gs-login
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2021-12-07 10:08:44 +00:00
6ab3606e20
Fix defaul namespace if not in config
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2021-12-06 09:34:16 +00:00
fd2f36cab0
Added git push config
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2021-12-06 07:41:33 +00:00
21dc2e7a00
Update git take command
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2021-12-03 18:42:46 +00:00
09248c19cd
Fix exec perm
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2021-12-03 18:20:33 +00:00
57ee208407
Fixed for MacOS
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2021-12-03 17:12:52 +00:00
3990c8fd9c
Refactor to support multiple OS's
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2021-11-29 08:07:17 +00:00