Skip to content
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

Update krew with login option #491

Merged
merged 1 commit into from
Mar 11, 2023

Conversation

chenliu1993
Copy link
Contributor

@chenliu1993 chenliu1993 commented Mar 9, 2023

【内容】:
#342 related

  1. Update to go1.20 for this plugin
  2. Fix delete get stuck due to deletion order
  3. Fix ns settings about ns settings not taking effect on kustomize
  4. Add a login option for init
  5. add a common error messages

@chenliu1993 chenliu1993 force-pushed the topic/cliu/updateKrew branch 3 times, most recently from 4d3f40c to 7ddbe80 Compare March 9, 2023 08:52
@chenliu1993
Copy link
Contributor Author

chenliu1993 commented Mar 9, 2023

k bilipro init -c config.yaml -l
namespace/bilipro unchanged
deployment.apps/bilibilipro unchanged


| _ \ __ _ _ _ | __ ) | ||_ |_ ___ | |
| |) / ` | | | | | _ () () | |/ _ \ / _ | |
| _ < (| | || | | |) | | | | | | () | () | |
|
| __,|_, | |/|||| ||_/ _/||
|___/

[16:56:40 INF] BiliBiliToolPro 开始运行...

[16:56:40 INF] 【账号个数】1个

[16:56:40 INF] 【目标任务】Login
[16:56:41 INF] =====开始 扫码登录 =====

[16:56:41 INF] ---开始 获取二维码 ---
[16:57:03 INF] AsciiQRCode:
[16:57:03 INF]
█████████████████████████████████████████████████
█████████████████████████████████████████████████
████ ▄▄▄▄▄ █ █▄▄ ▄██ ▀▀ ▄▀ ▄█ ▄▄▄▄▄█ ▄▄▄▄▄ ████
████ █ █ █ ▀ ▄▄█▄█▀ ▄▀▄▄ ▄▀▀▄▄█ ██ █ █ ████
████ █▄▄▄█ █▄ █ ▀█ ▄▀▀▄█▀▄▄▄▄▄ ▄ ▀ ▄██ █▄▄▄█ ████
████▄▄▄▄▄▄▄█ █ ▀▄█ █ █ █▄▀ █ █▄▀▄▀ █ █▄▄▄▄▄▄▄████
████▀ ▀▄▀ ▄█▄ █▀ █ ▄█▀ █ █▀▀▀█ ▀██▄▄█ ████
█████ ▀▀▀▄▄█▀▀▀▀▀▄▄▄▄▀▄▄▄▄ ▀ ▀█▄ ███▄ ▄█▄▄ ▀████
████▄▄▄█▄█▄▄ ▀ █▄▀▄ ▄█▄▄▀▄█▀ ▀▀█ █▄▀▄██▄█▄█ ████
█████▀▄█ █▄▄▄▄ █▄▀ ▀ █▀▄█ ██▄█ ▀ ▀▀ █▀▄▀ ▄█▄████
████ █▄█▄▀▄▄▀ ▄▀▄█ ██▄█ ▀▄▀ ▀▄▀ █▀▄▄██▄▀▄▀████
████ █▀ █▄█▀ █▄▀ ▄▀▀ ▄▀ ▀█ ▄ █▄█ █▀█▀▄▀▄▀▄▀█████
████▄ ▄▀ ▄ █▄▀ █ ▄ █ ▄ █ █▀█▀█ ▄ ▀ ▄▄▀▀█▄█ ▄████
████▀█▄█ █▄ ▄ █ ▀ █▄▄ ▄█▄▀█ ▄ ▄██ ██▄▀█▄█▀▄ ▄████
████▀▄▄▀ █▄▄▀███ ▀▀▄ ▄▄ ▀▄█▀█ ▄▀▄▄█▀█▀▄ ▀█▄ ████
█████▀██▄ ▄ ▀█▀█▀▄ ▄ █▀▄▄█▀█▀▄ ▀█▄ ▄▀█ █▄ ████
████▄ ▄ ▀▄▄█▀▄ █ ▀▄█▀▄▀▄▀ █▄▀█▄█ █ █▀▄▀▄▀ █▄▀████
████ █ ▄▀▄▄▀█ █ ▀█ █ ▄█▄▀▄██ ▄▀▄▀▄ █ █ █▀████
████▄██▄█▄▄▄▀▄█▄ █▀▄██▀▄▀▄ ▄▄▄▀█▀▄▀▀ ▄▄▄ ▄ ▀████
████ ▄▄▄▄▄ █▀ █▀▄▀▄█ ██▀ ▀ ▀ ▀ █ ▀█ █▄█ █▄▀▀████
████ █ █ █▀ ▄ ▀ ▀█▄▄ ▀ ▄ █▄▀█▀ ▀▀ ▄▄▄▄▀ ▀█████
████ █▄▄▄█ █▀▀██ ▄▄▀▄▀█▀ ██▀ █▄█ ▀█▀█▄▄▀▄▄▄▀▄████
████▄▄▄▄▄▄▄██▄█▄█▄███▄█▄█▄██▄▄███▄███▄█▄█▄███████
█████████████████████████████████████████████████
█████████████████████████████████████████████████
[16:57:03 INF]

[16:57:03 INF] 如果上方二维码显示异常,或扫描失败,请使用浏览器访问如下链接,查看高清二维码:
[16:57:03 INF] https://tool.lu/qrcode/basic.html?text=https%3a%2f%2fpassport.bilibili.com%2fh5-app%2fpassport%2flogin%2fscan%3fnavhide%3d1%26qrcode_key%3d130bef766312dc6c1809f73d6ac996f9%26from%3d

[16:57:03 INF] 我数到10,动作快点
[16:57:03 INF] [1]等待扫描...
[16:57:23 INF] 未扫码

[16:57:23 INF] [2]等待扫描...
[16:57:43 INF] 未扫码

[16:57:43 INF] [3]等待扫描...
[16:58:06 INF] 扫描成功!
[16:58:07 INF] --------结束--------

[16:58:07 INF] ---开始 Set Cookie ---
[16:58:21 INF] 访问主站成功
[16:58:21 INF] SetCookie成功
[16:58:21 INF] -------------结束-------------

[16:58:21 INF] ---开始 持久化Cookie ---
[16:58:21 INF] 当前运行平台:Unknown
[16:58:21 INF] 目标json地址:/app/cookies.json
[16:58:21 INF] 未配置过cookie,初始化并新增
[16:58:21 INF] 新增成功!
[16:58:21 INF] ------------结束------------

[16:58:21 INF] =========结束=========

[16:58:21 INF] 运行环境:Production
[16:58:21 INF] 应用目录:/app/

[16:58:21 INF] 运行结束
$ k bilipro delete
deployment.apps "bilibilipro" deleted
namespace "bilipro" deleted

Signed-off-by: chenliu1993 <cl2037829916@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants