Ocelot-Social/volumes/ssh-keys.yml
Robert Schäfer bbfe39e076 Use folders for groups of YAML files
This keeps our configuration DRY and helps us to save keystrokes.
2019-01-31 23:27:23 +01:00

26 lines
437 B
YAML

---
apiVersion: v1
kind: PersistentVolume
metadata:
name: ssh-keys-volume
namespace: staging
spec:
accessModes:
- ReadWriteOnce
capacity:
storage: 1Mi
hostPath:
path: /data/pv0001/
---
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: ssh-keys-claim
namespace: staging
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Mi