code: func getSecretRefValue(client kubernetes.Interface, namespace string, store *ResourceStore, secretSelector *corev1.SecretKeySelector) (string, error) {
  	secret, ok := store.SecretStore[secretSelector.Name]
  	if !ok {
  		var err error
  		secret, err = client.CoreV1().Secrets(namespace).Get(secretSelector.Name, metav1.GetOptions{})
  		if err != nil {
  			return "", err
  		}
  		store.SecretStore[secretSelector.Name] = secret
  	}
  	if data, ok := secret.Data[secretSelector.Key]; ok {
  		return string(data), nil
  	}
  	return "", fmt.Errorf("key %s not found in secret %s", secretSelector.Key, secretSelector.Name)
  
  }
docs: // getSecretRefValue returns the value of a secret in the supplied namespace