KubectlAliases.

KubectlApplySetLastApplied(ICakeContext, KubectlApplySetLastAppliedSettings) Method

Summary

Set the latest last-applied-configuration annotations by setting it to match the contents of a file. This results in the last-applied-configuration being updated as though 'kubectl apply -f<file> ' was run, without updating any other parts of the object.
Assembly
Cake.Kubectl.dll
Namespace
Cake.Kubectl
Containing Type
KubectlAliases

Syntax

public static void KubectlApplySetLastApplied(this ICakeContext context, KubectlApplySetLastAppliedSettings settings)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
void