java-tutorials/docker-modules/kaniko/volume.yaml

15 lines
291 B
YAML
Raw Normal View History

apiVersion: v1
kind: PersistentVolume
metadata:
name: dockerfile
labels:
type: local
spec:
capacity:
storage: 10Gi
accessModes:
- ReadWriteOnce
storageClassName: local-storage
hostPath:
path: /home/docker/kaniko # Path to the local mount directory that was setup