talos/pkg/images/images.go
Andrey Smirnov d3ccb3d1e0 fix: move installer image variables out of machinery
Machinery is supposed to be consumed without special build instructions,
so move images to "main" talos tree.

As config implementation is in the machinery, I had to drop the default
installer image there.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-09-24 15:05:49 -07:00

32 lines
1.0 KiB
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 images provides some default images.
package images
import "github.com/talos-systems/talos/pkg/version"
var (
// Username the is the default registry username.
Username string
// Registry is the default registry.
Registry string
// DefaultInstallerImageName is the default container image name for
// the installer.
DefaultInstallerImageName = Username + "/installer"
// DefaultInstallerImageRepository is the default container repository for
// the installer.
DefaultInstallerImageRepository = Registry + "/" + DefaultInstallerImageName
// DefaultInstallerImage is the default installer image.
DefaultInstallerImage = DefaultInstallerImageRepository + ":" + version.Tag
// DefaultTalosImageRepository is the default container repository for
// the talos image.
DefaultTalosImageRepository = Registry + "/" + Username + "/" + "talos"
)