KubectlAliases.

KubectlConfigViewWithResult(ICakeContext, KubectlConfigViewSettings) Method

Summary

Display merged kubeconfig settings or a specified kubeconfig file. You can use --output jsonpath={...} to extract specific values using a jsonpath expression.
Assembly
Cake.Kubectl.dll
Namespace
Cake.Kubectl
Containing Type
KubectlAliases

Syntax

public static IEnumerable<string> KubectlConfigViewWithResult(this ICakeContext context, KubectlConfigViewSettings settings)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
IEnumerable<string> Output lines.