KubeSphere24:设置密码

KubeSphere24:设置密码

修改密码

  • 用户名:admin
  • 密码:123456
# 命令 kubectl patch users <username> -p '{"spec":{"password":"<password>"}}' --type='merge' && kubectl annotate users <username> iam.kubesphere.io/password-encrypted- # 例如 root@master:~# kubectl patch users admin -p '{"spec":{"password":"123456"}}' --type='merge' && kubectl annotate users admin iam.kubesphere.io/password-encrypted-
notion image