KubectlAliases.

KubectlSetServiceaccount(ICakeContext, KubectlSetServiceaccountSettings) Method

Summary

Update ServiceAccount 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 void KubectlSetServiceaccount(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
void