Here is the interesting part, the folders are getting mounted inside the pod but the files are not getting mounted inside the pod.
I am trying to do this in my deployment file-
volumeMounts:
- mountPath: /fabric
name: mypvc
- mountPath: /host/var/run/docker.sock
name: dockersocket
- mountPath: /etc/hyperledger/fabric/msp
name: msp-files
- mountPath: /etc/hyperledger/fabric/tls
name: tls-files
volumes:
- name: mypvc
persistentVolumeClaim:
claimName: mypvc
- name: dockersocket
hostPath:
path: /var/run/docker.sock
- name: msp-files
hostPath:
path: /home/dev-25-5/fabric/hyperledger/example.com/peer0/msp
- name: tls-files
hostPath:
path: /home/dev-25-5/fabric/hyperledger/example.com/peer0/tls