workload

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KubeAppApplyOption

func KubeAppApplyOption() resource.ApplyOption

KubeAppApplyOption ensures resource templates are merged instead of replaced before patch if they have the same name and GroupVersionKind. We must merge the current and desired templates prior to submitting a Patch to the API server because KubernetesApplicationResourceTemplates are stored as an array in the KubernetesApplication. This means that entire templates will be replaced when a single field is different, per https://tools.ietf.org/html/rfc7386. We instead patch each of the resource templates individually before passing along the entire KubernetesApplication to resource.Apply.

Types

This section is empty.

Jump to

Keyboard shortcuts

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