Skip to content

Instantly share code, notes, and snippets.

@MartinHeinz
Last active October 11, 2021 16:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MartinHeinz/1c9700d197f0e565d314555b26e66890 to your computer and use it in GitHub Desktop.
Save MartinHeinz/1c9700d197f0e565d314555b26e66890 to your computer and use it in GitHub Desktop.
# This assumes that PersistentVolume gets created automatically
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: kaniko-cache
spec:
storageClassName: default # Or a storage class provided by Cloud provider
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 5Gi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment