serviceaccounts

package
v1.10.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupReconcilerWithManager

func SetupReconcilerWithManager(
	ctx context.Context,
	kargoMgr manager.Manager,
	cfg ReconcilerConfig,
) error

SetupReconcilerWithManager initializes a reconciler for ServiceAccount resources and registers it with the provided Manager.

Types

type ReconcilerConfig

type ReconcilerConfig struct {
	KargoNamespace          string `envconfig:"KARGO_NAMESPACE" default:"kargo"`
	MaxConcurrentReconciles int    `envconfig:"MAX_CONCURRENT_SERVICE_ACCOUNT_RECONCILES" default:"4"`
}

func ReconcilerConfigFromEnv

func ReconcilerConfigFromEnv() ReconcilerConfig