Skip to content

Commit 9885736

Browse files
mowoekrulls
andauthored
Update pkg/registry_checker/checker.go
Co-authored-by: Stephan Krull <[email protected]> Signed-off-by: Moritz Wörmann <[email protected]>
1 parent c567033 commit 9885736

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/registry_checker/checker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ func NewRegistryChecker(
201201
_, enumerr := kubeClient.CoreV1().Secrets(namespace).List(ctx, metav1.ListOptions{})
202202
if enumerr != nil {
203203
// Not add the secret indexer to automatic cache updater
204-
logrus.Warn("Provided ServiceAccount does not seem to be able to list secrets. Image availability check for images in private registries not having spec.imagePullSecrets configured will fail!")
204+
logrus.Warn("The provided ServiceAccount is not able to list secrets. The check for images in private registries requires 'spec.imagePullSecrets' to be configured correctly.")
205205
} else {
206206
rc.controllerIndexers.secretIndexer = rc.secretsInformer.Informer().GetIndexer()
207207
}

0 commit comments

Comments
 (0)