From fcc8fe7912b16246c4d2c27df2ab2528317b63eb Mon Sep 17 00:00:00 2001 From: Anton Patsev <10828883+patsevanton@users.noreply.github.com> Date: Wed, 13 Oct 2021 18:16:28 +0600 Subject: [PATCH] Change content sample-claim.yaml to yaml format --- setup/sample-claim.yaml | 32 +++++++++++++------------------- 1 file changed, 13 insertions(+), 19 deletions(-) diff --git a/setup/sample-claim.yaml b/setup/sample-claim.yaml index 2489708..de0b5c8 100644 --- a/setup/sample-claim.yaml +++ b/setup/sample-claim.yaml @@ -1,19 +1,13 @@ -{ - "apiVersion": "v1", - "kind": "PersistentVolumeClaim", - "metadata": { - "name": "pvc-test", - "annotations": { - "volume.beta.kubernetes.io/storage-class": "hostpath-provisioner" - } - }, - "spec": { - "accessModes": [ "ReadWriteOnce" ], - "resources": { - "requests": { - "storage": "5Gi" - }, - "volumeName": "pv-test" - } - } -} +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: pvc-test + annotations: + volume.beta.kubernetes.io/storage-class: hostpath-provisioner +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 5Gi + volumeName: pv-test