code: def convert_secret(secret_name: str) -> k8s.V1EnvFromSource:
      """
      Converts a str into an k8s object.
  
      :param secret_name:
      :return:
      """
      return k8s.V1EnvFromSource(
          secret_ref=k8s.V1SecretEnvSource(name=secret_name)
      )
  
imports: from __future__ import annotations
  from kubernetes.client import models
label_desc: Use image node_id 1 for calling a global function with example usage: convert_secret(secret_name) and returns: k8s