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.
Click to show internal directories.
Click to hide internal directories.