code: func GetSecretForPod(pod *v1.Pod, secretName string, kubeClient clientset.Interface) (map[string]string, error) {
  	secret := make(map[string]string)
  	if kubeClient == nil {
  		return secret, fmt.Errorf("Cannot get kube client")
  	}
  	secrets, err := kubeClient.CoreV1().Secrets(pod.Namespace).Get(secretName, metav1.GetOptions{})
  	if err != nil {
  		return secret, err
  	}
  	for name, data := range secrets.Data {
  		secret[name] = string(data)
  	}
  	return secret, nil
  }
docs: // GetSecretForPod locates secret by name in the pod's namespace and returns secret map