feat: make color output opt-in by default

Signed-off-by: Mohammadreza Asadollahifard <mazafard@gmail.com>
pull/31034/head
Mohammadreza Asadollahifard 2 months ago
parent ba8f70ae0b
commit d28343550f
No known key found for this signature in database
GPG Key ID: 89C260092433E3CC

@ -231,8 +231,8 @@ func envColorMode() string {
return v
}
}
// Default to auto
return "auto"
// Default to never (disabled) until more commands support color
return "never"
}
func (s *EnvSettings) EnvVars() map[string]string {

@ -81,7 +81,7 @@ Environment variables:
| $HELM_KUBETLS_SERVER_NAME | set the server name used to validate the Kubernetes API server certificate |
| $HELM_BURST_LIMIT | set the default burst limit in the case the server contains many CRDs (default 100, -1 to disable) |
| $HELM_QPS | set the Queries Per Second in cases where a high number of calls exceed the option for higher burst values |
| $HELM_COLOR | set color output mode. Allowed values: never, always, auto (default: auto) |
| $HELM_COLOR | set color output mode. Allowed values: never, always, auto (default: never) |
| $NO_COLOR | set to any non-empty value to disable all colored output (overrides $HELM_COLOR) |
Helm stores cache, configuration, and data based on the following configuration order:

Loading…
Cancel
Save