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
RKE2 configuration has hyphen on the attribute name as in the link below: https://docs.rke2.io/install/configuration?_highlight=config#configuration-file
Is there a way for KCL to support it? For example: write-kubeconfig-mode: "0644"
write-kubeconfig-mode: "0644"
The text was updated successfully, but these errors were encountered:
It sounds obvious but below is the answer: `import yaml
rke2Config = { 'write-kubeconfig-mode' = "0644" 'tls-san' = ["foo.local"] 'node-label' = ["foo=bar", "something=amazing"] debug = bool("true") }
yaml.dump_to_file(rke2Config, "output.yaml")`
The confusion was to think yaml rather than KCL
Sorry, something went wrong.
No branches or pull requests
RKE2 configuration has hyphen on the attribute name as in the link below: https://docs.rke2.io/install/configuration?_highlight=config#configuration-file
Is there a way for KCL to support it?
For example:
write-kubeconfig-mode: "0644"
The text was updated successfully, but these errors were encountered: