ArgoCD Context
Whatโ
Display the current ArgoCD context name, user and/or server.
Sample Configurationโ
- json
- yaml
- toml
{
"type": "argocd",
"style": "powerline",
"powerline_symbol": "๎ฐ",
"foreground": "#ffffff",
"background": "#FFA400",
"template": " {{ .Name }}:{{ .User }}@{{ .Server }} "
}
type: argocd
style: powerline
powerline_symbol: ๎ฐ
foreground: "#ffffff"
background: "#FFA400"
template: " {{ .Name }}:{{ .User }}@{{ .Server }} "
type = "argocd"
style = "powerline"
powerline_symbol = "๎ฐ"
foreground = "#ffffff"
background = "#FFA400"
template = " {{ .Name }}:{{ .User }}@{{ .Server }} "
Template ([info][templates])โ
default template
{{ .Name }}
Propertiesโ
Name | Type | Description |
---|---|---|
.Name | string | the current context name |
.Server | string | the server of the current context |
.User | string | the user of the current context |