Logo
Explore Help
Register Sign In
kairos/provider-k3s
1
0
Fork 0
You've already forked provider-k3s
mirror of https://github.com/kairos-io/provider-k3s.git synced 2025-09-09 17:08:52 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
772ab9b4968ccde5ef84cf44ffc4e7ec7755c591
provider-k3s/api/k3s_config.go

10 lines
333 B
Go
Raw Normal View History

filtering k3s agent config from cluster options
2022-10-18 09:50:18 -07:00
package api
addressed review comments
2022-10-18 10:25:13 -07:00
type K3sServerConfig struct {
Allow users to override the default SQLite datastore k3s supports multiple datastores via Kine. If one chooses not to use etcd (the default) by passing `ClusterInit=false` they can also specify a different datastore overriding the default location at `/var/lib/rancher/k3s/server/db/state.db`. For example: datastore-endpoint: "sqlite:///etc/kubernetes/state.sqlite3" or: datastore-endpoint: "postgres://blueelephant:pgrulz@localhost:port/kine See here for more information: https://docs.k3s.io/datastore Signed-off-by: Oz Tiram <oz.tiram@gmail.com>
2023-10-16 14:04:37 +02:00
ClusterInit bool `yaml:"cluster-init,omitempty"`
Token string `yaml:"token,omitempty"`
Server string `yaml:"server,omitempty"`
TLSSan []string `yaml:"tls-san,omitempty"`
DatastoreEndpoint string `yaml:"datastore-endpoint,omitempty"`
filtering k3s agent config from cluster options
2022-10-18 09:50:18 -07:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.5 Page: 1216ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API