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