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 Project resources and registers it with the provided Manager.
Types ¶
type ReconcilerConfig ¶
type ReconcilerConfig struct {
ManageControllerRoleBindings bool `envconfig:"MANAGE_CONTROLLER_ROLE_BINDINGS" default:"true"`
KargoNamespace string `envconfig:"KARGO_NAMESPACE" default:"kargo"`
MaxConcurrentReconciles int `envconfig:"MAX_CONCURRENT_PROJECT_RECONCILES" default:"4"`
ClusterSecretsNamespace string `envconfig:"CLUSTER_SECRETS_NAMESPACE"`
}
func ReconcilerConfigFromEnv ¶
func ReconcilerConfigFromEnv() ReconcilerConfig
Click to show internal directories.
Click to hide internal directories.