I need to copy a zip file from my host machine to pod/container. for that using hostPath volume as follows
volumeMounts:
- mountPath: "/tmp/delivery/AB_Database.zip"
name: db-volume
subPath: AB_Database.zip
volumes:
- name: db-volume
hostPath:
path: /delivery/oracle
but when I check inside pod AB_Database.zip is seen as directory.