The YAML Specification requires three daashes `---` as marker for the start of a content block. That means, each YAML file needs to start with `---` on the first line (or after initial comments). See-also: https://yaml.org/
13 lines
193 B
YAML
13 lines
193 B
YAML
---
|
|
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
name: hpvc
|
|
spec:
|
|
storageClassName: csi-hostpath-sc
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
resources:
|
|
requests:
|
|
storage: 1Gi
|