KubectlAliases.

KubectlSetServiceaccountWithResult(ICakeContext, KubectlSetServiceaccountSettings) Method

Summary

Update the service account of pod template resources. Possible resources (case insensitive) can be: replicationcontroller (rc), deployment (deploy), daemonset (ds), job, replicaset (rs), statefulset
Assembly
Cake.Kubectl.dll
Namespace
Cake.Kubectl
Containing Type
KubectlAliases

Syntax

public static IEnumerable<string> KubectlSetServiceaccountWithResult(this ICakeContext context, KubectlSetServiceaccountSettings settings)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
IEnumerable<string> Output lines.