bootstrap

package
v0.0.0-...-01c4bcc Latest Latest
Warning

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

Go to latest
Published: May 1, 2026 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrOIDCBootstrapAudienceMismatch = errors.New("oidc bootstrap audience mismatch")

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

Manager reconciles bootstrap/configuration resources for an OpenBaoCluster.

func NewManager

func NewManager(c client.Client, scheme *runtime.Scheme, operatorNamespace string) *Manager

func NewManagerWithReader

func NewManagerWithReader(c client.Client, r client.Reader, scheme *runtime.Scheme, operatorNamespace string) *Manager

func NewManagerWithReaderAndOIDCConfig

func NewManagerWithReaderAndOIDCConfig(
	c client.Client,
	r client.Reader,
	scheme *runtime.Scheme,
	operatorNamespace string,
	oidcConfig *portauth.OIDCConfig,
) *Manager

func (*Manager) PrepareWorkload

func (m *Manager) PrepareWorkload(ctx context.Context, logger logr.Logger, cluster *openbaov1alpha1.OpenBaoCluster) (string, error)

PrepareWorkload ensures bootstrap-owned resources are aligned and returns rendered config.hcl content.

func (*Manager) RenderConfig

func (*Manager) SetOIDCConfig

func (m *Manager) SetOIDCConfig(config *portauth.OIDCConfig)

Jump to

Keyboard shortcuts

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