zuke.tools.kustomize
@zuke/kustomize 1.0.1: @zuke/kustomize — typed KustomizeTasks wrappers for the [Kustomize](https://kustomize.io) CLI, for use in Zuke builds.
zuke on PyPI ↗ 4 symbols
Symbols
class KustomizeBuildSettings(KustomizeSettings) Settings for kustomize build.
-
dir(path: str) -> SelfThe kustomization directory to build (defaults to the current directory).
-
output(path: str) -> SelfWrite the rendered output to a file or directory (
--output). -
enable_helm() -> SelfEnable the Helm chart inflator (
--enable-helm). -
load_restrictor(mode: str) -> SelfSet the file-load restrictor, e.g.
LoadRestrictionsNone(--load-restrictor).
class KustomizeEditSetImageSettings(KustomizeSettings) Settings for kustomize edit set image.
-
image(name: str, reference: str) -> SelfSet an image override, e.g.
("api", "api:1.4")→api=api:1.4; repeatable, at least one is required.
class KustomizeSettings(ToolSettings) Base for all kustomize subcommand settings: the binary is kustomize.
class KustomizeTasks Typed task functions for the kustomize CLI.
-
static async build(ctx: ServiceContext, configure: Callable[[KustomizeBuildSettings], KustomizeBuildSettings] | None=None) -> ExecResultRender a kustomization:
kustomize build. -
static async edit_set_image(ctx: ServiceContext, configure: Callable[[KustomizeEditSetImageSettings], KustomizeEditSetImageSettings] | None=None) -> ExecResultUpdate image overrides:
kustomize edit set image.