feat: cloud-init supports all documented KubeSolo CLI flags
Add missing flags (--local-storage-shared-path, --debug, --pprof-server, --portainer-edge-id, --portainer-edge-key, --portainer-edge-async) so all 10 documented KubeSolo parameters can be configured via cloud-init YAML. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -31,9 +31,15 @@ type NetworkConfig struct {
|
||||
|
||||
// KubeSoloConfig defines KubeSolo-specific settings.
|
||||
type KubeSoloConfig struct {
|
||||
ExtraFlags string `yaml:"extra-flags"`
|
||||
LocalStorage *bool `yaml:"local-storage"`
|
||||
ExtraSANs []string `yaml:"apiserver-extra-sans"`
|
||||
ExtraFlags string `yaml:"extra-flags"`
|
||||
LocalStorage *bool `yaml:"local-storage"`
|
||||
LocalStorageSharedPath string `yaml:"local-storage-shared-path"`
|
||||
ExtraSANs []string `yaml:"apiserver-extra-sans"`
|
||||
Debug bool `yaml:"debug"`
|
||||
PprofServer bool `yaml:"pprof-server"`
|
||||
PortainerEdgeID string `yaml:"portainer-edge-id"`
|
||||
PortainerEdgeKey string `yaml:"portainer-edge-key"`
|
||||
PortainerEdgeAsync bool `yaml:"portainer-edge-async"`
|
||||
}
|
||||
|
||||
// NTPConfig defines NTP settings.
|
||||
|
||||
Reference in New Issue
Block a user