code: def show_namespace(name, **kwargs):
      '''
      Return information for a given namespace defined by the specified name
  
      CLI Examples::
  
          salt '*' kubernetes.show_namespace kube-system
      '''
      cfg = _setup_conn(**kwargs)
      try:
          api_instance = kubernetes.client.CoreV1Api()
          api_response = api_instance.read_namespace(name)
  
          return api_response.to_dict()
      except (ApiException, HTTPError) as exc:
          if isinstance(exc, ApiException) and exc.status == 404:
              return None
          else:
              log.exception(
                  'Exception when calling '
                  'CoreV1Api->read_namespace'
              )
              raise CommandExecutionError(exc)
      finally:
          _cleanup(**cfgf show_namespace(name, **kwargs):
      '''
      Return information for a given namespace defined by the specified name
  
      CLI Examples::
  
          salt '*' kubernetes.show_namespace kube-system
      '''
      cfg = _setup_conn(**kwargs)
      try:
          api_instance = kubernetes.client.CoreV1Api()
          api_response = api_instance.read_namespace(name)
  
          return api_response.to_dict()
      except (ApiException, HTTPError) as exc:
          if isinstance(exc, ApiException) and exc.status == 404:
              return None
          else:
              log.exception(
                  'Exception when calling '
                  'CoreV1Api->read_namespace'
              )
              raise CommandExecutionError(exc)
      finally:
          _cleanup(**cfg)
docs: Return information for a given namespace defined by the specified name
  
      CLI Examples::
  
          salt '*' kubernetes.show_namespace kube-system