Talosctl Context
What
Displays the currently active Talosctl context name.
This segment leverages the .talos/config file generated by the Talosctl CLI.
The CLI docs can be found by going to Documentation > Reference > CLI.
For example, v1.7 CLI.
Sample Configuration
- json
- yaml
- toml
Template (info)
default template
- json
- yaml
- toml
{
"template": " {{ .Context}} "
}
template: " {{ .Context}} "
template = " {{ .Context}} "
Properties
| Name | Type | Description |
|---|---|---|
.Context | string | the current talosctl context |