[K3s] Update incorrect template example link

We split the templates into linux and windows versions, making the old link incorrect.
This commit is contained in:
Derek Nola
2022-04-19 12:38:02 -07:00
committed by GitHub
parent a7ee3fd5f0
commit f416a6a749
+1 -1
View File
@@ -143,7 +143,7 @@ K3s will generate config.toml for containerd in `/var/lib/rancher/k3s/agent/etc/
For advanced customization for this file you can create another file called `config.toml.tmpl` in the same directory and it will be used instead.
The `config.toml.tmpl` will be treated as a Go template file, and the `config.Node` structure is being passed to the template. [This template](https://github.com/rancher/k3s/blob/master/pkg/agent/templates/templates.go#L16-L32) example on how to use the structure to customize the configuration file.
The `config.toml.tmpl` will be treated as a Go template file, and the `config.Node` structure is being passed to the template. See [this folder](https://github.com/k3s-io/k3s/blob/master/pkg/agent/templates) for linux and windows examples on how to use the structure to customize the configuration file.
# Running K3s with Rootless mode (Experimental)