KubectlAliases.

KubectlCreateRoleWithResult(ICakeContext, KubectlCreateRoleSettings) Method

Summary

Create a role with single rule.
Assembly
Cake.Kubectl.dll
Namespace
Cake.Kubectl
Containing Type
KubectlAliases

Syntax

public static IEnumerable<string> KubectlCreateRoleWithResult(this ICakeContext context, KubectlCreateRoleSettings settings)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
IEnumerable<string> Output lines.