engine

package
v0.0.0-...-9b525ab Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RepoUrl     = "https://charts.crossplane.io/stable"
	ChartName   = "crossplane"
	ReleaseName = "overlock-crossplane"
	Version     = "1.15.2"

	ProviderConfigName = "overlock-kubernetes-provider-config"
)

Variables

This section is empty.

Functions

func BuildPack

func BuildPack(pack v1.Package, img string, pkgMap map[string]string) error

func GetEngine

func GetEngine(configClient *rest.Config) (install.Manager, error)

Get engine Helm manager

func InstallEngine

func InstallEngine(ctx context.Context, configClient *rest.Config, params map[string]any, logger *zap.SugaredLogger) error

Install engine Helm release

func IsHelmReleaseFound

func IsHelmReleaseFound(configClient *rest.Config) bool

Check if engine release exists

func ManagedLabels

func ManagedLabels(m map[string]string) map[string]string

Lables for engine system resources, mixed with provided

func ManagedSelector

func ManagedSelector(m map[string]string) string

Selector for engine system resources, mixed with provided

func SetupPrivilegedKubernetesProvider

func SetupPrivilegedKubernetesProvider(ctx context.Context, configClient *rest.Config, logger *zap.SugaredLogger) error

Setup Kubernetes provider which has crossplane admin aggregation role assigned

func ToDNSLabel

func ToDNSLabel(s string) string

ToDNSLabel converts the string to a valid DNS label.

Types

type SecretReconciler

type SecretReconciler struct {
	client.Client
	context.CancelFunc
	// contains filtered or unexported fields
}

func (*SecretReconciler) Reconcile

Reconcile SvcAcc secret for make kubeconfig

Jump to

Keyboard shortcuts

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