kube secret

Description

Generate a Kubernetes Secret manifest that contains your Akita credentials.

Examples

Apply a generated Secret manifest to the namespace “my-namespace” via standard out:

akita kube secret --namespace my-namespace | kubectl apply -f -

Output a generated Secret manifest to the file “generated-secret.yml”:

akita kube secret --namespace my-namespace -f generated-secret.yml

Optional Flags

-f, --file string

File to output the generated secret. If not set, the secret will be printed to standard output.

-n, --namespace string

The Kubernetes namespace the Secret should be applied to. If not set, “default” will be used.