KubectlAliases.

KubectlConfigSetClusterWithResult(ICakeContext, KubectlConfigSetClusterSettings) Method

Summary

Sets a cluster 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 IEnumerable<string> KubectlConfigSetClusterWithResult(this ICakeContext context, KubectlConfigSetClusterSettings settings)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
IEnumerable<string> Output lines.