-
Notifications
You must be signed in to change notification settings - Fork 128
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
How to customize the rocketmq-dashboard configuration #73
Comments
Env : |
@Euthpic However, rocketmq operator does not support mounting a configMap to rocketmq-dashboard, would you like to submit a PR to solve it? |
@shendong, Can you put forward a pr to support this feature? If you have any question, I will help to fix and implement it! |
Ok,i will fix this issue |
Okay, it's yours! @shendongsd |
* support mounting a configMap to rocketmq-dashboard * prepare for v0.4.0 development * support mounting a configMap to rocketmq-dashboard * support mounting a configMap to rocketmq-dashboard * format example file --------- Co-authored-by: shendong <[email protected]> Co-authored-by: caigy <[email protected]>
I follow the installation instruction(https://segmentfault.com/a/1190000023862693) to install rocketmq in k8s.
Now I want to change rocketmq's default configuration to enable console's password.
Operation(https://github.com/apache/rocketmq-externals/blob/master/rocketmq-console/doc/1_0_0/UserGuide_CN.md):
``
1.在Spring配置文件resources/application.properties中修改 开启登录功能
开启登录功能
rocketmq.config.loginRequired=true
Dashboard文件目录,登录用户配置文件所在目录
rocketmq.config.dataPath=/tmp/rocketmq-console/data
2.确保${rocketmq.config.dataPath}定义的目录存在,并且该目录下创建登录配置文件"users.properties", 如果该目录下不存在此文件,则默认使用resources/users.properties文件。 users.properties文件格式为:
该文件支持热修改,即添加和修改用户时,不需要重新启动console
格式, 每行定义一个用户, username=password[,N] #N是可选项,可以为0 (普通用户); 1 (管理员)
#定义管理员
admin=admin,1
#定义普通用户
user1=user1
user2=user2
``
But I dont konw how to find this two files and edit them.Should I inject them by adding configMap?
The text was updated successfully, but these errors were encountered: