* PE-5814: Filtering out agent specific options in server config
* Added all flags
* Revised structs
* Filtering out agent specific options for server config
* Added unit test
Signed-off-by: Vivek-Joshi-99 <viveksanjayjoshi1999@gmail.com>
---------
Signed-off-by: Vivek-Joshi-99 <viveksanjayjoshi1999@gmail.com>
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>