New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bearer token error argo + microk8s #3562
Comments
Default Argo CLI will not use any token. It is just wrapper on kubectl. It looks like kubeconfig issue.
|
Hi there, For me this issue was not using the correct server address. Default localhost:2746 not same as 127.0.0.1:2746.
cheers! |
@sarabala1979 kubectl works fine, it would complain on name missing, but after adding the name to the workflow it normally created a container Also latest release argo v2.9.3 works fine, you obviously have a regression in RC 2.10.x |
Here you are - 2 versions side by side - confirmed
|
Are you using |
I am not using |
But you are using |
No I am not using any special environment variables. I've run into the issue by following the hello world example so assume very basic setup. |
OK. I see bug. We should ignore weird and bad server tokens. |
Checklist:
What happened:
I tried to use argo CLI with argo in microk8s instance and got this error when running
Got this error
FATA[0000] rpc error: code = Unauthenticated desc = failure to parse token: expected bearer token to be a JWT and therefore have 3 dot-delimited parts
MicroK8S indeed does not use a Bearer token in its configuration
What you expected to happen:
it was expected to create an example workflow.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
argo: v2.10.0-rc1
BuildDate: 2020-07-17T19:39:25Z
GitCommit: 616c79d
GitTreeState: clean
GitTag: v2.10.0-rc1
GoVersion: go1.13.4
Compiler: gc
Platform: linux/amd64
FATA[0000] rpc error: code = Unauthenticated desc = failure to parse token: expected bearer token to be a JWT and therefore have 3 dot-delimited parts
clientVersion:
buildDate: "2020-07-16T14:19:25Z"
compiler: gc
gitCommit: dff82dc0de47299ab66c83c626e08b245ab19037
gitTreeState: clean
gitVersion: v1.18.6
goVersion: go1.13.13
major: "1"
minor: "18"
platform: linux/amd64
serverVersion:
buildDate: "2020-06-23T21:17:52Z"
compiler: gc
gitCommit: 6f17be3f1fd54a88681869d1cf8bedd5a2174504
gitTreeState: clean
gitVersion: v1.18.4-1+6f17be3f1fd54a
goVersion: go1.14.4
major: "1"
minor: 18+
platform: linux/amd64
Other debugging information (if applicable):
Message from the maintainers:
If you are impacted by this bug please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.
The text was updated successfully, but these errors were encountered: