engine

package
v0.0.0-...-bb99189 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RepoUrl     = "https://charts.crossplane.io/stable"
	ChartName   = "crossplane"
	ReleaseName = "kndp-crossplane"
)

Variables

This section is empty.

Functions

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) 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) error

Setup Kubernetes provider which has crossplane admin aggregation role assigned

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