kustomize

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package kustomize renders the overlays under manifests/ate-install, standing in for `kubectl kustomize <dir> --load-restrictor LoadRestrictionsNone`.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(dir string) ([]byte, error)

Build renders an overlay directory to a multi-document YAML manifest.

Load restrictions are disabled to match the shell scripts: the kind overlays reference base manifests that sit outside their own directory, which the default root-relative restriction rejects.

func Compose added in v0.2.0

func Compose(path string, components ...string) ([]byte, error)

Compose renders path, a manifest file or a kustomization directory, with the given component directories layered on top. It is how one component, such as the control plane node pinning, reaches every apply path whichever form the manifests take there.

The composition is a throwaway kustomization in a temporary directory. kustomize refuses absolute paths as resource or component roots even with the load restrictor off, so both are written relative to that directory.

func ComposeBytes added in v0.2.0

func ComposeBytes(manifest []byte, components ...string) ([]byte, error)

ComposeBytes is Compose for a manifest already held in memory, such as one patched on the way in.

Types

This section is empty.

Jump to

Keyboard shortcuts

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