Skip to content

Commit

Permalink
Update pkg/registry_checker/checker.go
Browse files Browse the repository at this point in the history
Co-authored-by: Stephan Krull <[email protected]>
Signed-off-by: Moritz Wörmann <[email protected]>
Signed-off-by: Moritz Woermann <[email protected]>
  • Loading branch information
mowoe and krulls committed Feb 19, 2024
1 parent f54279c commit b9608e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/registry_checker/checker.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ func NewRegistryChecker(
_, enumerr := kubeClient.CoreV1().Secrets(namespace).List(ctx, metav1.ListOptions{})
if enumerr != nil {
// Not add the secret indexer to automatic cache updater
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!")
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.")
} else {
rc.controllerIndexers.secretIndexer = rc.secretsInformer.Informer().GetIndexer()
}
Expand Down

0 comments on commit b9608e1

Please sign in to comment.