2022-10-18 09:50:18 -07:00
|
|
|
package api
|
|
|
|
|
2022-10-18 10:25:13 -07:00
|
|
|
type K3sServerConfig struct {
|
2024-06-28 17:00:13 +05:30
|
|
|
ClusterInit bool `yaml:"cluster-init,omitempty" json:"cluster-init,omitempty"`
|
2024-06-11 14:44:34 -06: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 09:50:18 -07:00
|
|
|
}
|