Package patch contains helpers for applying patches
KubeYAML takes a Kubernetes object YAML document stream to patch, merge patches, and JSON 6902 patches.
It returns a patched a YAML document stream.
Matching is performed on Kubernetes style v1 TypeMeta fields (kind and apiVersion), between the YAML documents and the patches.
Patches match if their kind and apiVersion match a document, with the exception that if the patch does not set apiVersion it will be ignored.
TOML patches toPatch with the patches (should be TOML merge patches) and patches6902 (should be JSON 6902 patches)