KubectlAliases.

KubectlPatchWithResult(ICakeContext, KubectlPatchSettings) Method

Summary

Update field(s) of a resource using strategic merge patch, a JSON merge patch, or a JSON patch. JSON and YAML formats are accepted.
Assembly
Cake.Kubectl.dll
Namespace
Cake.Kubectl
Containing Type
KubectlAliases

Syntax

public static IEnumerable<string> KubectlPatchWithResult(this ICakeContext context, KubectlPatchSettings settings)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
settings KubectlPatchSettings The settings.

Return Value

Type Description
IEnumerable<string> Output lines.