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]>
  • Loading branch information
mowoe and krulls authored Dec 12, 2023
1 parent c567033 commit 9885736
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 9885736

Please sign in to comment.