KubectlAliases.

KubectlPatchWithResult(ICakeContext, KubectlPatchSettings) Method

Summary

Update fields of a resource using strategic merge patch, a JSON merge patch, or a JSON patch. JSON and YAML formats are accepted. Note: Strategic merge patch is not supported for custom resources.
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.