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/
9 lines
185 B
YAML
9 lines
185 B
YAML
---
|
|
apiVersion: storage.k8s.io/v1
|
|
kind: StorageClass
|
|
metadata:
|
|
name: csi-hostpath-sc
|
|
provisioner: hostpath.csi.k8s.io #csi-hostpath
|
|
reclaimPolicy: Delete
|
|
volumeBindingMode: Immediate
|