Implements 2 new variables that can configure k3s settings with adding files to the config.yaml.d directory.
There are two variables that will allow for customizing the server or agents
# A list of templates used for configuring the server.
k3s_server_config_yaml_d_files: []
# A list of templates used for configuring the agent.
k3s_agent_config_yaml_d_files: []
When templates are provided they are copied into the special /etc/rancher/k3s/config.yaml.d directory
feat: implement config.yaml.d
Summary
Yey! more undocumented features of k3s, the PR was created here
https://github.com/k3s-io/k3s/pull/3162/files
Implements 2 new variables that can configure k3s settings with adding files to the
config.yaml.d
directory.There are two variables that will allow for customizing the server or agents
When templates are provided they are copied into the special
/etc/rancher/k3s/config.yaml.d
directoryFixes https://github.com/PyratLabs/ansible-role-k3s/issues/148
Issue type
Test instructions
Add templates to the above variables with k3s server or agent configuration options.
Acceptance Criteria