mirror of
https://github.com/kairos-io/provider-k3s.git
synced 2025-09-20 17:08:54 +00:00
32 lines
1.2 KiB
Go
32 lines
1.2 KiB
Go
![]() |
package constants
|
||
|
|
||
|
const (
|
||
|
EnableOpenRCServices = "Enable OpenRC Services"
|
||
|
EnableSystemdServices = "Enable Systemd Services"
|
||
|
InstallK3sConfigFiles = "Install K3s Configuration Files"
|
||
|
ImportK3sImages = "Import K3s Images"
|
||
|
)
|
||
|
|
||
|
// The following are keys provider-k3s supports if present in Cluster.ProviderOptions from the Kairos SDK.
|
||
|
const (
|
||
|
// K3s bind address
|
||
|
BindAddress string = "bind-address"
|
||
|
|
||
|
// If value == 'yes', provider-k3s will use etcd for its datastore.
|
||
|
// If value == 'no' and DatastoreEndpoint is not defined, the sqlite datastore will be used.
|
||
|
// If value == 'no' and DatastoreEndpoint is defined, a custom datastore will be used.
|
||
|
ClusterInit string = "cluster-init"
|
||
|
|
||
|
// A PostgreSQL, MySQL, NATS, or etcd connection string. Used to describe the connection to the datastore.
|
||
|
DatastoreEndpoint string = "datastore-endpoint"
|
||
|
|
||
|
// TLS Certificate Authority (CA) file used to help secure communication with the datastore.
|
||
|
DatastoreCaFile string = "datastore-cafile"
|
||
|
|
||
|
// TLS certificate file used for client certificate based authentication to your datastore.
|
||
|
DatastoreCertFile string = "datastore-certfile"
|
||
|
|
||
|
// TLS key file used for client certificate based authentication to your datastore.
|
||
|
DatastoreKeyFile string = "datastore-keyfile"
|
||
|
)
|