diff --git a/api/api.descriptors b/api/api.descriptors index d563830034..75c321efe1 100644 Binary files a/api/api.descriptors and b/api/api.descriptors differ diff --git a/go.mod b/go.mod index c037cb573b..e498d95c68 100644 --- a/go.mod +++ b/go.mod @@ -288,7 +288,7 @@ require ( github.com/satori/go.uuid v1.2.1-0.20181028125025-b2ce2384e17b // indirect github.com/sethgrid/pester v1.2.0 // indirect github.com/siderolabs/go-api-signature v0.3.1 // indirect - github.com/siderolabs/protoenc v0.2.0 // indirect + github.com/siderolabs/protoenc v0.2.1 // indirect github.com/siderolabs/tcpproxy v0.1.0 // indirect github.com/sirupsen/logrus v1.9.3 // indirect github.com/spf13/afero v1.9.3 // indirect diff --git a/go.sum b/go.sum index 1a94f92f49..f9f22001b0 100644 --- a/go.sum +++ b/go.sum @@ -127,8 +127,8 @@ github.com/blang/semver/v4 v4.0.0 h1:1PFHFE6yCCTv8C1TeyNNarDzntLi7wMI5i/pzqYIsAM github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ= github.com/briandowns/spinner v1.19.0 h1:s8aq38H+Qju89yhp89b4iIiMzMm8YN3p6vGpwyh/a8E= github.com/briandowns/spinner v1.19.0/go.mod h1:mQak9GHqbspjC/5iUx3qMlIho8xBS/ppAL/hX5SmPJU= -github.com/brianvoe/gofakeit/v6 v6.17.0 h1:obbQTJeHfktJtiZzq0Q1bEpsNUs+yHrYlPVWt7BtmJ4= -github.com/brianvoe/gofakeit/v6 v6.17.0/go.mod h1:Ow6qC71xtwm79anlwKRlWZW6zVq9D2XHE4QSSMP/rU8= +github.com/brianvoe/gofakeit/v6 v6.24.0 h1:74yq7RRz/noddscZHRS2T84oHZisW9muwbb8sRnU52A= +github.com/brianvoe/gofakeit/v6 v6.24.0/go.mod h1:Ow6qC71xtwm79anlwKRlWZW6zVq9D2XHE4QSSMP/rU8= github.com/bwesterb/go-ristretto v1.2.3/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= github.com/cenkalti/backoff/v4 v4.2.1 h1:y4OZtCnogmCPw98Zjyt5a6+QwPLGkiQsYW5oUqylYbM= github.com/cenkalti/backoff/v4 v4.2.1/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE= @@ -689,8 +689,8 @@ github.com/siderolabs/kms-client v0.1.0 h1:rCDWzcDDsNlp6zdyLngOuuhchVILn+vwUQy3t github.com/siderolabs/kms-client v0.1.0/go.mod h1:4UQkRhuEh3kaK7VhJxez4YyJLv6lPEff7g3Pa6Y9okg= github.com/siderolabs/net v0.4.0 h1:1bOgVay/ijPkJz4qct98nHsiB/ysLQU0KLoBC4qLm7I= github.com/siderolabs/net v0.4.0/go.mod h1:/ibG+Hm9HU27agp5r9Q3eZicEfjquzNzQNux5uEk0kM= -github.com/siderolabs/protoenc v0.2.0 h1:QFxWIAo//12+/bm27GNYoK/TpQGTYsRrrZCu9jSghvU= -github.com/siderolabs/protoenc v0.2.0/go.mod h1:mu4gc6pJxhdJYpuloacKE4jsJojj87qDXwn8LUvs2bY= +github.com/siderolabs/protoenc v0.2.1 h1:BqxEmeWQeMpNP3R6WrPqDatX8sM/r4t97OP8mFmg6GA= +github.com/siderolabs/protoenc v0.2.1/go.mod h1:StTHxjet1g11GpNAWiATgc8K0HMKiFSEVVFOa/H0otc= github.com/siderolabs/siderolink v0.3.2 h1:ULFHQAgxtVCU7Sd+GLP7bDSQBXrwTtppaI4TKl/YqZc= github.com/siderolabs/siderolink v0.3.2/go.mod h1:juxlSF9cBzeBHsOjS7hVS3s0NDpC034i/OZunVReqmo= github.com/siderolabs/tcpproxy v0.1.0 h1:IbkS9vRhjMOscc1US3M5P1RnsGKFgB6U5IzUk+4WkKA= diff --git a/internal/app/machined/pkg/controllers/config/acquire.go b/internal/app/machined/pkg/controllers/config/acquire.go index be00731cc9..1a2119119d 100644 --- a/internal/app/machined/pkg/controllers/config/acquire.go +++ b/internal/app/machined/pkg/controllers/config/acquire.go @@ -238,13 +238,6 @@ func (ctrl *AcquireController) loadFromDisk(logger *zap.Logger) (config.Provider return nil, fmt.Errorf("failed to load config from STATE: %w", err) } - // TODO: this is legacy flow with persistence, it should be deprecated & removed - if !cfg.Persist() { - logger.Info("config persistence is disabled, ignoring stored machine config") - - return nil, nil - } - // if the STATE partition is present & contains machine config, Talos is already installed warnings, err := cfg.Validate(validationModeDiskConfig{}) if err != nil { diff --git a/pkg/cluster/kubernetes/patch.go b/pkg/cluster/kubernetes/patch.go index 97e5714f94..ccab07201c 100644 --- a/pkg/cluster/kubernetes/patch.go +++ b/pkg/cluster/kubernetes/patch.go @@ -37,10 +37,6 @@ func patchNodeConfig(ctx context.Context, cluster UpgradeProvider, node string, return fmt.Errorf("config is not v1alpha1 config") } - if !cfg.Persist() { - return fmt.Errorf("config persistence is disabled, patching is not supported") - } - if err = patchFunc(cfg); err != nil { return fmt.Errorf("error patching config: %w", err) } diff --git a/pkg/machinery/config/config/config.go b/pkg/machinery/config/config/config.go index d2ce753a9f..76b21580c1 100644 --- a/pkg/machinery/config/config/config.go +++ b/pkg/machinery/config/config/config.go @@ -8,7 +8,6 @@ package config // Config defines the interface to access contents of the machine configuration. type Config interface { Debug() bool - Persist() bool Machine() MachineConfig Cluster() ClusterConfig SideroLink() SideroLinkConfig diff --git a/pkg/machinery/config/container/container.go b/pkg/machinery/config/container/container.go index 37022ec414..9a0ebd760f 100644 --- a/pkg/machinery/config/container/container.go +++ b/pkg/machinery/config/container/container.go @@ -110,15 +110,6 @@ func (container *Container) Debug() bool { return container.v1alpha1Config.Debug() } -// Persist implements config.Config interface. -func (container *Container) Persist() bool { - if container.v1alpha1Config == nil { - return true - } - - return container.v1alpha1Config.Persist() -} - // Machine implements config.Config interface. func (container *Container) Machine() config.MachineConfig { if container.v1alpha1Config == nil { diff --git a/pkg/machinery/config/types/v1alpha1/schemas/v1alpha1_config.schema.json b/pkg/machinery/config/types/v1alpha1/schemas/v1alpha1_config.schema.json index 3cb13190a3..d4c30de707 100644 --- a/pkg/machinery/config/types/v1alpha1/schemas/v1alpha1_config.schema.json +++ b/pkg/machinery/config/types/v1alpha1/schemas/v1alpha1_config.schema.json @@ -697,9 +697,8 @@ "persist": { "type": "boolean", "title": "persist", - "description": "description: |\n Indicates whether to pull the machine config upon every boot.\n\nNote: this option is deprecated and it will be removed in Talos 1.6.\n values:\n - true\n - yes\n - false\n - no\n", - "markdownDescription": "description: |\n Indicates whether to pull the machine config upon every boot.\n\n **Note**: this option is deprecated and it will be removed in Talos 1.6.\n values:\n - true\n - yes\n - false\n - no", - "x-intellij-html-description": "\u003cp\u003edescription: |\n Indicates whether to pull the machine config upon every boot.\u003c/p\u003e\n\n\u003cp\u003e\u003cstrong\u003eNote\u003c/strong\u003e: this option is deprecated and it will be removed in Talos 1.6.\n values:\n - true\n - yes\n - false\n - no\u003c/p\u003e\n" + "markdownDescription": "", + "x-intellij-html-description": "" }, "machine": { "$ref": "#/$defs/MachineConfig", @@ -1500,13 +1499,6 @@ "markdownDescription": "Allows for supplying additional system extension images to install on top of base Talos image.", "x-intellij-html-description": "\u003cp\u003eAllows for supplying additional system extension images to install on top of base Talos image.\u003c/p\u003e\n" }, - "bootloader": { - "type": "boolean", - "title": "bootloader", - "description": "Indicates if a bootloader should be installed.\n", - "markdownDescription": "Indicates if a bootloader should be installed.", - "x-intellij-html-description": "\u003cp\u003eIndicates if a bootloader should be installed.\u003c/p\u003e\n" - }, "wipe": { "type": "boolean", "title": "wipe", diff --git a/pkg/machinery/config/types/v1alpha1/v1alpha1_provider.go b/pkg/machinery/config/types/v1alpha1/v1alpha1_provider.go index 4e8c26b464..b905c3c2ce 100644 --- a/pkg/machinery/config/types/v1alpha1/v1alpha1_provider.go +++ b/pkg/machinery/config/types/v1alpha1/v1alpha1_provider.go @@ -61,15 +61,6 @@ func (c *Config) Debug() bool { return pointer.SafeDeref(c.ConfigDebug) } -// Persist implements the config.Provider interface. -func (c *Config) Persist() bool { - if c == nil { - return true - } - - return pointer.SafeDeref(c.ConfigPersist) -} - // Machine implements the config.Provider interface. func (c *Config) Machine() config.MachineConfig { if c == nil || c.MachineConfig == nil { diff --git a/pkg/machinery/config/types/v1alpha1/v1alpha1_types.go b/pkg/machinery/config/types/v1alpha1/v1alpha1_types.go index ba35638595..5c360e2ba0 100644 --- a/pkg/machinery/config/types/v1alpha1/v1alpha1_types.go +++ b/pkg/machinery/config/types/v1alpha1/v1alpha1_types.go @@ -63,15 +63,7 @@ type Config struct { // - false // - no ConfigDebug *bool `yaml:"debug,omitempty"` - // description: | - // Indicates whether to pull the machine config upon every boot. - // - // **Note**: this option is deprecated and it will be removed in Talos 1.6. - // values: - // - true - // - yes - // - false - // - no + //docgen:nodoc ConfigPersist *bool `yaml:"persist,omitempty"` // description: | // Provides machine specific configuration options. @@ -775,13 +767,9 @@ type InstallConfig struct { // examples: // - value: installExtensionsExample() InstallExtensions []InstallExtensionConfig `yaml:"extensions,omitempty"` - // description: | - // Indicates if a bootloader should be installed. - // values: - // - true - // - yes - // - false - // - no + // docgen:nodoc + // + // Deprecated: It never worked. InstallBootloader *bool `yaml:"bootloader,omitempty"` // description: | // Indicates if the installation disk should be wiped at installation time. diff --git a/pkg/machinery/config/types/v1alpha1/v1alpha1_types_doc.go b/pkg/machinery/config/types/v1alpha1/v1alpha1_types_doc.go index 067f11e7e0..4cc979cd4d 100644 --- a/pkg/machinery/config/types/v1alpha1/v1alpha1_types_doc.go +++ b/pkg/machinery/config/types/v1alpha1/v1alpha1_types_doc.go @@ -46,8 +46,8 @@ func (Config) Doc() *encoder.Doc { Name: "persist", Type: "bool", Note: "", - Description: "description: |\n Indicates whether to pull the machine config upon every boot.\n\n **Note**: this option is deprecated and it will be removed in Talos 1.6.\n values:\n - true\n - yes\n - false\n - no\n", - Comments: [3]string{"" /* encoder.HeadComment */, "description: |" /* encoder.LineComment */, "" /* encoder.FootComment */}, + Description: "", + Comments: [3]string{"" /* encoder.HeadComment */, "" /* encoder.LineComment */, "" /* encoder.FootComment */}, }, { Name: "machine", @@ -1012,19 +1012,7 @@ func (InstallConfig) Doc() *encoder.Doc { Description: "Allows for supplying additional system extension images to install on top of base Talos image.", Comments: [3]string{"" /* encoder.HeadComment */, "Allows for supplying additional system extension images to install on top of base Talos image." /* encoder.LineComment */, "" /* encoder.FootComment */}, }, - { - Name: "bootloader", - Type: "bool", - Note: "", - Description: "Indicates if a bootloader should be installed.", - Comments: [3]string{"" /* encoder.HeadComment */, "Indicates if a bootloader should be installed." /* encoder.LineComment */, "" /* encoder.FootComment */}, - Values: []string{ - "true", - "yes", - "false", - "no", - }, - }, + {}, { Name: "wipe", Type: "bool", diff --git a/pkg/machinery/config/types/v1alpha1/v1alpha1_validation.go b/pkg/machinery/config/types/v1alpha1/v1alpha1_validation.go index dd5e53a5cc..90b123a0d3 100644 --- a/pkg/machinery/config/types/v1alpha1/v1alpha1_validation.go +++ b/pkg/machinery/config/types/v1alpha1/v1alpha1_validation.go @@ -276,6 +276,10 @@ func (c *Config) Validate(mode validation.RuntimeMode, options ...validation.Opt extensions[ext.Image()] = struct{}{} } + + if len(extensions) > 0 { + warnings = append(warnings, ".machine.install.extensions is deprecated, please see https://www.talos.dev/latest/talos-guides/install/boot-assets/") + } } if err := labels.Validate(c.MachineConfig.MachineNodeLabels); err != nil { @@ -298,6 +302,10 @@ func (c *Config) Validate(mode validation.RuntimeMode, options ...validation.Opt } } + if c.ConfigPersist != nil && !*c.ConfigPersist { + result = multierror.Append(result, fmt.Errorf(".persist should be enabled")) + } + if opts.Strict { for _, w := range warnings { result = multierror.Append(result, fmt.Errorf("warning: %s", w)) @@ -309,40 +317,7 @@ func (c *Config) Validate(mode validation.RuntimeMode, options ...validation.Opt return warnings, result.ErrorOrNil() } -// onceValue is a straight copy from Go 1.21, change to sync.OnceValue once upgraded to Go 1.21. -func onceValue[T any](f func() T) func() T { - var ( - once sync.Once - valid bool - p any - result T - ) - - g := func() { - defer func() { - p = recover() - - if !valid { - panic(p) - } - }() - - result = f() - valid = true - } - - return func() T { - once.Do(g) - - if !valid { - panic(p) - } - - return result - } -} - -var rxDNSNameRegexp = onceValue(func() *regexp.Regexp { +var rxDNSNameRegexp = sync.OnceValue(func() *regexp.Regexp { return regexp.MustCompile(`^([a-zA-Z0-9_]{1}[a-zA-Z0-9_-]{0,62}){1}(\.[a-zA-Z0-9_]{1}[a-zA-Z0-9_-]{0,62})*[\._]?$`) }) diff --git a/pkg/machinery/config/types/v1alpha1/v1alpha1_validation_test.go b/pkg/machinery/config/types/v1alpha1/v1alpha1_validation_test.go index db38d512d5..7d3d442627 100644 --- a/pkg/machinery/config/types/v1alpha1/v1alpha1_validation_test.go +++ b/pkg/machinery/config/types/v1alpha1/v1alpha1_validation_test.go @@ -186,7 +186,10 @@ func TestValidate(t *testing.T) { }, }, requiresInstall: true, - expectedError: "1 error occurred:\n\t* duplicate system extension \"ghcr.io/siderolabs/gvisor:v0.1.0\"\n\n", + expectedWarnings: []string{ + ".machine.install.extensions is deprecated, please see https://www.talos.dev/latest/talos-guides/install/boot-assets/", + }, + expectedError: "1 error occurred:\n\t* duplicate system extension \"ghcr.io/siderolabs/gvisor:v0.1.0\"\n\n", }, { name: "ExternalCloudProviderEnabled", diff --git a/pkg/machinery/go.mod b/pkg/machinery/go.mod index 57ae49fe0a..278e27429d 100644 --- a/pkg/machinery/go.mod +++ b/pkg/machinery/go.mod @@ -23,7 +23,7 @@ require ( github.com/siderolabs/go-blockdevice v0.4.6 github.com/siderolabs/go-pointer v1.0.0 github.com/siderolabs/net v0.4.0 - github.com/siderolabs/protoenc v0.2.0 + github.com/siderolabs/protoenc v0.2.1 github.com/stretchr/testify v1.8.4 google.golang.org/genproto/googleapis/rpc v0.0.0-20231030173426-d783a09b4405 google.golang.org/grpc v1.59.0 @@ -41,7 +41,7 @@ require ( github.com/davecgh/go-spew v1.1.1 // indirect github.com/gertd/go-pluralize v0.2.1 // indirect github.com/golang/protobuf v1.5.3 // indirect - github.com/google/go-cmp v0.5.9 // indirect + github.com/google/go-cmp v0.6.0 // indirect github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.0 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect github.com/josharian/native v1.1.0 // indirect diff --git a/pkg/machinery/go.sum b/pkg/machinery/go.sum index baf04e0190..0821877b8e 100644 --- a/pkg/machinery/go.sum +++ b/pkg/machinery/go.sum @@ -8,8 +8,8 @@ github.com/adrg/xdg v0.4.0 h1:RzRqFcjH4nE5C6oTAxhBtoE2IRyjBSa62SCbyPidvls= github.com/adrg/xdg v0.4.0/go.mod h1:N6ag73EX4wyxeaoeHctc1mas01KZgsj5tYiAIwqJE/E= github.com/blang/semver/v4 v4.0.0 h1:1PFHFE6yCCTv8C1TeyNNarDzntLi7wMI5i/pzqYIsAM= github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ= -github.com/brianvoe/gofakeit/v6 v6.17.0 h1:obbQTJeHfktJtiZzq0Q1bEpsNUs+yHrYlPVWt7BtmJ4= -github.com/brianvoe/gofakeit/v6 v6.17.0/go.mod h1:Ow6qC71xtwm79anlwKRlWZW6zVq9D2XHE4QSSMP/rU8= +github.com/brianvoe/gofakeit/v6 v6.24.0 h1:74yq7RRz/noddscZHRS2T84oHZisW9muwbb8sRnU52A= +github.com/brianvoe/gofakeit/v6 v6.24.0/go.mod h1:Ow6qC71xtwm79anlwKRlWZW6zVq9D2XHE4QSSMP/rU8= github.com/bwesterb/go-ristretto v1.2.3/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= @@ -55,8 +55,8 @@ github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMyw github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= -github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.0 h1:RtRsiaGvWxcwd8y3BiRZxsylPT8hLWZ5SPcfI+3IDNk= github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.0/go.mod h1:TzP6duP4Py2pHLVPPQp42aoYI92+PCrVotyR5e8Vqlk= @@ -122,8 +122,8 @@ github.com/siderolabs/go-retry v0.3.3 h1:zKV+S1vumtO72E6sYsLlmIdV/G/GcYSBLiEx/c9 github.com/siderolabs/go-retry v0.3.3/go.mod h1:Ff/VGc7v7un4uQg3DybgrmOWHEmJ8BzZds/XNn/BqMI= github.com/siderolabs/net v0.4.0 h1:1bOgVay/ijPkJz4qct98nHsiB/ysLQU0KLoBC4qLm7I= github.com/siderolabs/net v0.4.0/go.mod h1:/ibG+Hm9HU27agp5r9Q3eZicEfjquzNzQNux5uEk0kM= -github.com/siderolabs/protoenc v0.2.0 h1:QFxWIAo//12+/bm27GNYoK/TpQGTYsRrrZCu9jSghvU= -github.com/siderolabs/protoenc v0.2.0/go.mod h1:mu4gc6pJxhdJYpuloacKE4jsJojj87qDXwn8LUvs2bY= +github.com/siderolabs/protoenc v0.2.1 h1:BqxEmeWQeMpNP3R6WrPqDatX8sM/r4t97OP8mFmg6GA= +github.com/siderolabs/protoenc v0.2.1/go.mod h1:StTHxjet1g11GpNAWiATgc8K0HMKiFSEVVFOa/H0otc= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= diff --git a/website/content/v1.6/reference/configuration.md b/website/content/v1.6/reference/configuration.md index 82a5e91604..25259fcc94 100644 --- a/website/content/v1.6/reference/configuration.md +++ b/website/content/v1.6/reference/configuration.md @@ -33,7 +33,7 @@ cluster: # ... |-------|------|-------------|----------| |`version` |string |Indicates the schema used to decode the contents. |`v1alpha1`
| |`debug` |bool |
Enable verbose logging to the console.All system containers logs will flow into serial console.

**Note:** To avoid breaking Talos bootstrap flow enable this option only if serial console can handle high message throughput.
|`true`
`yes`
`false`
`no`
| -|`persist` |bool |
description: | Indicates whether to pull the machine config upon every boot.

**Note**: this option is deprecated and it will be removed in Talos 1.6.
values:
- true
- yes
- false
- no
| | +|`persist` |bool | | | |`machine` |MachineConfig |Provides machine specific configuration options. | | |`cluster` |ClusterConfig |Provides cluster specific configuration options. | | @@ -1221,7 +1221,6 @@ image: ghcr.io/siderolabs/installer:latest extensions: - image: ghcr.io/siderolabs/gvisor:20220117.0-v1.0.0 # System extension image. {{< /highlight >}} | | -|`bootloader` |bool |Indicates if a bootloader should be installed. |`true`
`yes`
`false`
`no`
| |`wipe` |bool |
Indicates if the installation disk should be wiped at installation time.Defaults to `true`.
|`true`
`yes`
`false`
`no`
| |`legacyBIOSSupport` |bool |
Indicates if MBR partition should be marked as bootable (active).Should be enabled only for the systems with legacy BIOS that doesn't support GPT partitioning scheme.
| | diff --git a/website/content/v1.6/schemas/v1alpha1_config.schema.json b/website/content/v1.6/schemas/v1alpha1_config.schema.json index 3cb13190a3..d4c30de707 100644 --- a/website/content/v1.6/schemas/v1alpha1_config.schema.json +++ b/website/content/v1.6/schemas/v1alpha1_config.schema.json @@ -697,9 +697,8 @@ "persist": { "type": "boolean", "title": "persist", - "description": "description: |\n Indicates whether to pull the machine config upon every boot.\n\nNote: this option is deprecated and it will be removed in Talos 1.6.\n values:\n - true\n - yes\n - false\n - no\n", - "markdownDescription": "description: |\n Indicates whether to pull the machine config upon every boot.\n\n **Note**: this option is deprecated and it will be removed in Talos 1.6.\n values:\n - true\n - yes\n - false\n - no", - "x-intellij-html-description": "\u003cp\u003edescription: |\n Indicates whether to pull the machine config upon every boot.\u003c/p\u003e\n\n\u003cp\u003e\u003cstrong\u003eNote\u003c/strong\u003e: this option is deprecated and it will be removed in Talos 1.6.\n values:\n - true\n - yes\n - false\n - no\u003c/p\u003e\n" + "markdownDescription": "", + "x-intellij-html-description": "" }, "machine": { "$ref": "#/$defs/MachineConfig", @@ -1500,13 +1499,6 @@ "markdownDescription": "Allows for supplying additional system extension images to install on top of base Talos image.", "x-intellij-html-description": "\u003cp\u003eAllows for supplying additional system extension images to install on top of base Talos image.\u003c/p\u003e\n" }, - "bootloader": { - "type": "boolean", - "title": "bootloader", - "description": "Indicates if a bootloader should be installed.\n", - "markdownDescription": "Indicates if a bootloader should be installed.", - "x-intellij-html-description": "\u003cp\u003eIndicates if a bootloader should be installed.\u003c/p\u003e\n" - }, "wipe": { "type": "boolean", "title": "wipe",