code: def ingest_volumes_param(self, volumes):
          
          data = {}
          for volume in volumes:
              if volume.get('hostPath', {}).get('path'):
                  data[volume.get('name')] = {
                      'path': volume.get('hostPath', {}).get('path'),
                  }
              elif volume.get('emptyDir'):
                  data[volume.get('name')] = {}
              else:
                  data[volume.get('name')] = {}
              # TODO Support other k8s volume types?
          return data
docs: This is for ingesting the "volumes" of a pod spec