Documentation ¶
Overview ¶
Package controller provides functions for creating and registering a Helm controller with a `controller-runtime` manager. It also provides a Helm reconciler implementation that can be used to create a Helm-based operator.
Index ¶
- func Add(mgr manager.Manager, options WatchOptions) error
- func DeploymentNotInstalled(ctx context.Context, deploymentName string, namespaceName string) bool
- func ValidateNotebook(ctx context.Context, kind string, namespace string) error
- type HelmOperatorReconciler
- type ReleaseHookFunc
- type WatchOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
func Add(mgr manager.Manager, options WatchOptions) error
Add creates a new helm operator controller and adds it to the manager
func DeploymentNotInstalled ¶ added in v1.1.0
Types ¶
type HelmOperatorReconciler ¶
type HelmOperatorReconciler struct { Client client.Client EventRecorder record.EventRecorder GVK schema.GroupVersionKind ManagerFactory release.ManagerFactory ReconcilePeriod time.Duration OverrideValues map[string]string SuppressOverrideValues bool // contains filtered or unexported fields }
HelmOperatorReconciler reconciles custom resources as Helm releases.
type ReleaseHookFunc ¶
ReleaseHookFunc defines a function signature for release hooks.
type WatchOptions ¶
type WatchOptions struct { GVK schema.GroupVersionKind ManagerFactory release.ManagerFactory ReconcilePeriod time.Duration WatchDependentResources bool OverrideValues map[string]string SuppressOverrideValues bool MaxConcurrentReconciles int Selector metav1.LabelSelector }
WatchOptions contains the necessary values to create a new controller that manages helm releases in a particular namespace based on a GVK watch.
Click to show internal directories.
Click to hide internal directories.