bootstrap

package
v1.136.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const NamePrefix = "etcd-bootstrap-"

NamePrefix is the prefix of the StatefulSet name. It will be appended with the role.

Variables

This section is empty.

Functions

func Name added in v1.119.0

func Name(role string) string

Name is the name of the StatefulSet based on the role.

func New

func New(
	client client.Client,
	namespace string,
	secretsManager secretsmanager.Interface,
	values Values,
) component.Deployer

New creates a new instance of DeployWaiter for the Etcd.

Types

type Values

type Values struct {
	// Image is the container image used for Etcd.
	Image string
	// Role is the role of this etcd instance (main or events).
	Role string
	// PortClient is the port for the client connections.
	PortClient int32
	// PortPeer is the port for the peer connections.
	PortPeer int32
	// PortMetrics is the port for the metrics connections.
	PortMetrics int32
}

Values is a set of configuration values for the Etcd component.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL