Documentation ¶
Index ¶
- Constants
- func BuildPack(pack v1.Package, img string, pkgMap map[string]string) error
- func GetEngine(configClient *rest.Config) (install.Manager, error)
- func InstallEngine(ctx context.Context, configClient *rest.Config, params map[string]any, ...) error
- func IsHelmReleaseFound(configClient *rest.Config) bool
- func ManagedLabels(m map[string]string) map[string]string
- func ManagedSelector(m map[string]string) string
- func SetupPrivilegedKubernetesProvider(ctx context.Context, configClient *rest.Config, logger *zap.SugaredLogger) error
- func ToDNSLabel(s string) string
- type SecretReconciler
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 InstallEngine ¶
func InstallEngine(ctx context.Context, configClient *rest.Config, params map[string]any, logger *zap.SugaredLogger) error
Install engine Helm release
func IsHelmReleaseFound ¶
Check if engine release exists
func ManagedLabels ¶
Lables for engine system resources, mixed with provided
func ManagedSelector ¶
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 ¶
ToDNSLabel converts the string to a valid DNS label.
Types ¶
type SecretReconciler ¶
type SecretReconciler struct { client.Client context.CancelFunc // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.