We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ks版本:kubesphere/ks-installer:v3.4.1-patch.0 kubernetes版本:
Client Version: version.Info{Major:"1", Minor:"26", GitVersion:"v1.26.15", GitCommit:"1649f592f1909b97aa3c2a0a8f968a3fd05a7b8b", GitTreeState:"clean", BuildDate:"2024-03-14T01:05:39Z", GoVersion:"go1.21.8", Compiler:"gc", Platform:"linux/amd64"} Kustomize Version: v4.5.7 Server Version: version.Info{Major:"1", Minor:"26", GitVersion:"v1.26.15", GitCommit:"1649f592f1909b97aa3c2a0a8f968a3fd05a7b8b", GitTreeState:"clean", BuildDate:"2024-03-14T00:54:27Z", GoVersion:"go1.21.8", Compiler:"gc", Platform:"linux/amd64"}
测试发现,虽然ks根据cluster-configuration.yaml设置创建了opensearch-credentials,但opensearch使用的还是默认用户名密码
The text was updated successfully, but these errors were encountered:
从官方社区找到的,手动修改
/usr/share/opensearch/plugins/opensearch-security/tools/securityadmin.sh \ -icl \ -cacert /usr/share/opensearch/config/root-ca.pem \ -cert /usr/share/opensearch/config/kirk.pem \ -key /usr/share/opensearch/config/kirk-key.pem \ -r \ -cd current-config
./plugins/opensearch-security/tools/hash.sh -p $NEW_PASSWORD
修改current-config/internal_users_$DATE.yml里面admin用户的hash,提交变更
/usr/share/opensearch/plugins/opensearch-security/tools/securityadmin.sh \ -icl \ -t internalusers \ -f current-config/internal_users_$DATE.yml \ -cacert /usr/share/opensearch/config/root-ca.pem \ -cert /usr/share/opensearch/config/kirk.pem \ -key /usr/share/opensearch/config/kirk-key.pem
另外定时任务看起来是正常获取到凭据的,所以密码与secret配置中密码保持一致,不然任务会报错
Sorry, something went wrong.
No branches or pull requests
ks版本:kubesphere/ks-installer:v3.4.1-patch.0
kubernetes版本:
测试发现,虽然ks根据cluster-configuration.yaml设置创建了opensearch-credentials,但opensearch使用的还是默认用户名密码
![image](https://private-user-images.githubusercontent.com/88395653/318475636-fdb68e06-1f03-4ec5-8bae-b75b326ad068.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkwNzIyMTIsIm5iZiI6MTcxOTA3MTkxMiwicGF0aCI6Ii84ODM5NTY1My8zMTg0NzU2MzYtZmRiNjhlMDYtMWYwMy00ZWM1LThiYWUtYjc1YjMyNmFkMDY4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjIyVDE1NTgzMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM1MTU1OGEwNWJkM2E0ZjNlNGNjMTBlY2JkY2VkZjliNTk0ZTdhZGU5OTNmOGRiNmJjYjNjMGJlZjA2NmI1ZWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.nSWT1JYpIa8W1RGFuEXiyMy3nFXZ1BTq6t8ltXhYloM)
The text was updated successfully, but these errors were encountered: