我已经在https://github.com/argoproj/argo-helm/tree/master/charts/argo-workflows然而,当访问UI(已启用入口(时,我会看到登录屏幕,其中包含使用SSO或"argo-auth token"登录的选项。是否有可能为类似Argcd的用户启用匿名只读访问?
查找服务器吊舱的名称
lausser@roosevelt:~/git/argo-workflows$ kubectl -n argo get pods
NAME READY STATUS RESTARTS AGE
arschgo-argo-workflows-workflow-controller-69dcddf54-jhgfx 1/1 Running 0 42m
svclb-arschgo-argo-workflows-server-z4vhh 1/1 Running 0 42m
arschgo-argo-workflows-server-6777499bc-2brcc 1/1 Running 0 42m
base-template-nzfs8 1/2 NotReady 0 19m
然后
kubectl -n argo exec pod/arschgo-argo-workflows-server-6777499bc-2brcc -- argo auth token
并且它将输出令牌。(我的名称空间是"argo"(
带有一个命令
kubectl -n argo exec $(kubectl get pod -n argo -l 'app=argo-server' -o jsonpath='{.items[0].metadata.name}') -- argo auth token