2022-10-18 16:50:18 +00:00
|
|
|
package api
|
|
|
|
|
2022-10-18 17:25:13 +00:00
|
|
|
type K3sServerConfig struct {
|
2024-06-28 11:30:13 +00:00
|
|
|
ClusterInit bool `yaml:"cluster-init,omitempty" json:"cluster-init,omitempty"`
|
2024-06-11 20:44:34 +00:00
|
|
|
Token string `yaml:"token,omitempty" json:"token,omitempty"`
|
|
|
|
Server string `yaml:"server,omitempty" json:"server,omitempty"`
|
|
|
|
TLSSan []string `yaml:"tls-san,omitempty" json:"tls-san,omitempty"`
|
|
|
|
DatastoreEndpoint string `yaml:"datastore-endpoint,omitempty" json:"datastore-endpoint,omitempty"`
|
|
|
|
DatastoreCaFile string `yaml:"datastore-cafile,omitempty" json:"datastore-cafile,omitempty"`
|
|
|
|
DatastoreCertFile string `yaml:"datastore-certfile,omitempty" json:"datastore-certfile,omitempty"`
|
|
|
|
DatastoreKeyFile string `yaml:"datastore-keyfile,omitempty" json:"datastore-keyfile,omitempty"`
|
|
|
|
BindAddress string `yaml:"bind-address,omitempty" json:"bind-address,omitempty"`
|
2022-10-18 16:50:18 +00:00
|
|
|
}
|