kustomize

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: May 27, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package kustomize implements kustomize-based Kubernetes deployment.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanUp

func CleanUp(
	ctx context.Context,
	cfg *config.Config,
	pipeline *pipelines.Pipeline,
	name names.Name,
	k8sClient *k8s.K8s,
) error

CleanUp cleans up/removes all the Kubernetes resources created during a Kustomization deployment.

func Exec

func Exec(
	ctx context.Context,
	cfg *config.Config,
	pipeline *pipelines.Pipeline,
	name names.Name,
	imageRefs container.ImageRefs,
	k8sClient *k8s.K8s,
) error

Exec deploys a stack on Kubernetes using a Kustomization configuration.

func ExpandResources added in v0.1.0

func ExpandResources(
	ctx context.Context,
	cfg *config.Config,
	pipeline *pipelines.Pipeline,
	name names.Name,
	imageRefs container.ImageRefs,
) (k8sResourcesPath string, err error)

ExpandResources expands the resources defined in a kustomization into a YAML file, with one resource per YAML document. The path to this file is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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