Defining users in xml files passed to `spec.configuration.files`
My team is currently migrating our local development from running the clickhouse executable on the machine to a kubernetes deployment. We have a set of user xml files we use to define users for local testing. Is there a way to pass these xml files into the cluster configuration? I attempted to use spec.configuration.files, but while the files are present the users do not seem to be created. Is the only path to defining users through the spec.configuration.users YAML property?
try to use
spec:
configuration:
files:
users.d/file_name.xml: |
<xml content>
That worked, thanks! Is this somewhere in the documentation? Want to make sure to pin it.
look to
kubectl explain chi.spec.configuration.files