当试图在Kubernetes上部署Clickhouse操作符时,默认情况下,access_management在users.xml文件中被注释掉。在安装kubernetes操作符时,有没有办法取消它的注释?
Clickhouse操作员部署:
kubectl apply -f https://github.com/Altinity/clickhouse-operator/raw/0.18.3/deploy/operator/clickhouse-operator-install-bundle.yaml我试着通过"ClickHouseInstallation“来做到这一点,但没有成功。
此外,Clickhouse操作符源代码不包含access_management的参数
发布于 2022-08-13 06:55:11
看看kubectl explain chi.spec.configuration.files和kubectl explain chi.spec.configuration.users
试一试
apiVersion: clickhouse.altinity.com/v1
kind: ClickHouseInstallation
metadata:
name: access-management-example
spec:
configuration:
files:
users.d/access_management.xml: |
<clickhouse><users>
<default><access_management>1</access_management></default>
</users></clickhouse>在更改集群布局(扩展)期间,您应该继续复制RBAC对象。
https://stackoverflow.com/questions/73332415
复制相似问题