code: func (kl *Kubelet) getPullSecretsForPod(pod *v1.Pod) []v1.Secret {
  	pullSecrets := []v1.Secret{}
  
  	for _, secretRef := range pod.Spec.ImagePullSecrets {
  		secret, err := kl.secretManager.GetSecret(pod.Namespace, secretRef.Name)
  		if err != nil {
  			klog.Warningf("Unable to retrieve pull secret %s/%s for %s/%s due to %v.  The image pull may not succeed.", pod.Namespace, secretRef.Name, pod.Namespace, pod.Name, err)
  			continue
  		}
  
  		pullSecrets = append(pullSecrets, *secret)
  	}
  
  	return pullSecrets
  }
docs: // getPullSecretsForPod inspects the Pod and retrieves the referenced pull
  // secrets.