KubectlAliases.

KubectlSetSubjectWithResult(ICakeContext, KubectlSetSubjectSettings) Method

Summary

Update User, Group or ServiceAccount in a RoleBinding/ClusterRoleBinding.
Assembly
Cake.Kubectl.dll
Namespace
Cake.Kubectl
Containing Type
KubectlAliases

Syntax

public static IEnumerable<string> KubectlSetSubjectWithResult(this ICakeContext context, KubectlSetSubjectSettings settings)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
IEnumerable<string> Output lines.