crds

package
v0.0.0-...-60784e1 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package crds applies the four platform CRDs from the embedded operator chart to the cluster before helm-install.

Why this exists: helm intentionally only installs CRDs from a chart's crds/ directory on first install — never on upgrade. After a CRD shape change, users would have to run `kubectl apply -f installer/charts/educates-installer/crds/` by hand for the new schema to land. Owning CRD lifecycle from deploy removes that step.

The deploy flow passes SkipCRDs=true to helm so the two paths don't fight over CRD ownership.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(ctx context.Context, applier *apply.Client, chrt *helmchart.Chart) ([]string, error)

Apply pushes every CRD found in chrt.CRDObjects() via SSA. Returns the list of GroupKind+Name strings applied so the deploy summary can log them. Idempotent: re-runs converge on the latest schema.

Types

This section is empty.

Jump to

Keyboard shortcuts

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