KubectlAliases.

KubectlConfigSetContext(ICakeContext, KubectlConfigSetContextSettings) Method

Summary

Set a context entry in kubeconfig. Specifying a name that already exists will merge new fields on top of existing values for those fields.
Assembly
Cake.Kubectl.dll
Namespace
Cake.Kubectl
Containing Type
KubectlAliases

Syntax

public static void KubectlConfigSetContext(this ICakeContext context, KubectlConfigSetContextSettings settings)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
void