code: def get_sidecar_container(self, volume_mounts):
          
          return get_sidecar_container(
              job_container_name=self.job_container_name,
              sidecar_container_name=self.sidecar_container_name,
              sidecar_docker_image=self.sidecar_docker_image,
              sidecar_docker_image_pull_policy=self.sidecar_docker_image_pull_policy,
              namespace=self.namespace,
              sidecar_config=self.sidecar_config,
              sidecar_args=get_sidecar_args(container_id=self.job_container_name,
                                            app_label=self.app_label),
              internal_health_check_url=self.health_check_url,
              volume_mounts=volume_mounts)
docs: Pod sidecar container for task logs.