We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe87f21 commit 3723381Copy full SHA for 3723381
VERSION
@@ -1 +1 @@
1
-1.3.1
+1.3.2
pkg/kubernetes/kubernetes.go
@@ -81,6 +81,11 @@ func goOverContext(options *getOverContextOptions) error {
81
options.logger.Warn(message)
82
return fmt.Errorf(message)
83
}
84
+ if len(sa.Secrets) == 0 {
85
+ message := fmt.Sprintf("Service account has no secrect configured for serviceaccount: %s", options.serviceaccount)
86
+ options.logger.Warn(message)
87
+ return fmt.Errorf(message)
88
+ }
89
secretName := string(sa.Secrets[0].Name)
90
namespace := sa.Namespace
91
options.logger.WithFields(log.Fields{
0 commit comments