From 643cfb91f483c78394601e93e7971a9338f6da97 Mon Sep 17 00:00:00 2001 From: Sharif Elgamal Date: Wed, 26 May 2021 09:33:33 -0700 Subject: [PATCH] fix last bool --- pkg/addons/addons_gcpauth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/addons/addons_gcpauth.go b/pkg/addons/addons_gcpauth.go index 1bd5bf153e..8d585db66a 100644 --- a/pkg/addons/addons_gcpauth.go +++ b/pkg/addons/addons_gcpauth.go @@ -307,7 +307,7 @@ func verifyGCPAuthAddon(cc *config.ClusterConfig, name string, val string) error if enable && err == nil { out.Styled(style.Notice, "Your GCP credentials will now be mounted into every pod created in the {{.name}} cluster.", out.V{"name": cc.Name}) out.Styled(style.Notice, "If you don't want your credentials mounted into a specific pod, add a label with the `gcp-auth-skip-secret` key to your pod configuration.") - if !Force { + if !Refresh { out.Styled(style.Notice, "If you want existing pods to be mounted with credentials, either recreate them or rerun addons enable with --refresh.") } }