Skip to main content

ArgoCD Context

Whatโ€‹

Display the current ArgoCD context name, user and/or server.

Sample Configurationโ€‹

{
"type": "argocd",
"style": "powerline",
"powerline_symbol": "๎‚ฐ",
"foreground": "#ffffff",
"background": "#FFA400",
"template": " {{ .Name }}:{{ .User }}@{{ .Server }} "
}

Template ([info][templates])โ€‹

default template
{{ .Name }}

Propertiesโ€‹

NameTypeDescription
.Namestringthe current context name
.Serverstringthe server of the current context
.Userstringthe user of the current context