talos/internal/pkg/meta/constants.go
Andrey Smirnov 64e3d24c6b
feat: provide platform network config for 'metal' in META
A special META key might contain optional platform network config for
the `METAL` platform.

It is completely optional, but if present, it works same way as in the
clouds: it is applied with low priority (can be overridden with machine
config), but provides some initial defaults for the machine.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2023-03-15 23:54:39 +04:00

19 lines
690 B
Go

// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
package meta
const (
// Upgrade is the upgrade tag.
Upgrade = iota + 6
// StagedUpgradeImageRef stores image reference for staged upgrade.
StagedUpgradeImageRef
// StagedUpgradeInstallOptions stores JSON-serialized install.Options.
StagedUpgradeInstallOptions
// StateEncryptionConfig stores JSON-serialized v1alpha1.Encryption.
StateEncryptionConfig
// MetalNetworkPlatformConfig stores serialized NetworkPlatformConfig for the `metal` platform.
MetalNetworkPlatformConfig
)