KubectlAliases.

KubectlCreateSecretTlsWithResult(ICakeContext, KubectlCreateSecretTlsSettings) Method

Summary

Create a TLS secret from the given public/private key pair. The public/private key pair must exist beforehand. The public key certificate must be .PEM encoded and match the given private key.
Assembly
Cake.Kubectl.dll
Namespace
Cake.Kubectl
Containing Type
KubectlAliases

Syntax

public static IEnumerable<string> KubectlCreateSecretTlsWithResult(this ICakeContext context, KubectlCreateSecretTlsSettings settings)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
IEnumerable<string> Output lines.