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
我是在k8s中部署的rockermq,但是开启acl后,plain_acl.yml这个文件是在conf目录下,我无法映射出来或者修改plain_acl.yml文件的路径,请问一下有其他的方法吗?
The text was updated successfully, but these errors were encountered:
duplicated with #184
Sorry, something went wrong.
@wolf27w 目前尚未支持,#200 仍在开发中。可以看看这个方法是否能临时解决?#184 (comment)
明白了,我看他写的有点错误,应该把configmap里的plain_acl.yml替换到/home/rocketmq/rocketmq-4.9.7/conf/plain_acl.yml才是正确的,不需要在开发了
挂载自定义ACL有了新的姿势。
kubectl create configmap broker-acl --from-file=plain_acl.yml=plain_acl.yml
kubectl edit brokers.rocketmq.apache.org rocketmq-cluster-test
apiVersion: rocketmq.apache.org/v1alpha1 kind: Broker ... spec: volumes: - configMap: name: broker-acl name: broker-acl
kubectl edit statefulsets.apps rocketmq-cluster-test-0-0
apiVersion: apps/v1 kind: StatefulSet ... spec: volumes: - configMap: defaultMode: 420 name: broker-acl name: broker-acl containers: volumeMounts: - mountPath: /root/rocketmq/broker/conf/acl name: broker-acl
可以实现acl配置热加载。
No branches or pull requests
我是在k8s中部署的rockermq,但是开启acl后,plain_acl.yml这个文件是在conf目录下,我无法映射出来或者修改plain_acl.yml文件的路径,请问一下有其他的方法吗?
The text was updated successfully, but these errors were encountered: