File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,9 @@ package k3s
22
33import (
44 "fmt"
5- bootstrapv1 "github.com/zawachte/cluster-api-k3s/bootstrap/api/v1beta1"
65 "strings"
6+
7+ bootstrapv1 "github.com/zawachte/cluster-api-k3s/bootstrap/api/v1beta1"
78)
89
910const DefaultK3sConfigLocation = "/etc/rancher/k3s/config.yaml"
@@ -30,8 +31,8 @@ type K3sAgentConfig struct {
3031 Token string `json:"token,omitempty"`
3132 Server string `json:"server,omitempty"`
3233 KubeletArgs []string `json:"kubelet-arg,omitempty"`
33- NodeLabels []string `json:"node-labels ,omitempty"`
34- NodeTaints []string `json:"node-taints ,omitempty"`
34+ NodeLabels []string `json:"node-label ,omitempty"`
35+ NodeTaints []string `json:"node-taint ,omitempty"`
3536 PrivateRegistry string `json:"private-registry,omitempty"`
3637 KubeProxyArgs []string `json:"kube-proxy-arg,omitempty"`
3738 NodeName string `json:"node-name,omitempty"`
You can’t perform that action at this time.
0 commit comments