mirror of
https://github.com/siderolabs/talos.git
synced 2025-09-01 12:01:14 +02:00
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>
32 lines
1.0 KiB
Go
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"
|
|
)
|