From ab00f424142c5d5441fe0c9215f6ee7106b8a5db Mon Sep 17 00:00:00 2001 From: madhan-swe Date: Thu, 16 Dec 2021 09:20:01 +0530 Subject: [PATCH] fix --- .../kubernetes/block-volume/specs/pod.yaml | 2 +- .../block-volume/specs/raw-claim.yaml | 2 +- .../block-volume/specs/storageclass.yaml | 2 +- .../dynamic-provisioning/specs/claim.yaml | 2 +- .../dynamic-provisioning/specs/pod.yaml | 2 +- .../specs/storageclass.yaml | 2 +- .../kubernetes/resizing/specs/example.yaml | 2 +- .../static-provisioning/specs/example.yaml | 2 +- .../kubernetes/storageclass/specs/example.yaml | 2 +- examples/pod.yaml | 18 ------------------ examples/pvc.yaml | 11 ----------- examples/sc.yaml | 9 --------- 12 files changed, 9 insertions(+), 47 deletions(-) delete mode 100644 examples/pod.yaml delete mode 100644 examples/pvc.yaml delete mode 100644 examples/sc.yaml diff --git a/examples/kubernetes/block-volume/specs/pod.yaml b/examples/kubernetes/block-volume/specs/pod.yaml index f7d0643d5..eb437b4a5 100644 --- a/examples/kubernetes/block-volume/specs/pod.yaml +++ b/examples/kubernetes/block-volume/specs/pod.yaml @@ -15,4 +15,4 @@ spec: volumes: - name: data persistentVolumeClaim: - claimName: block-claim \ No newline at end of file + claimName: block-claim diff --git a/examples/kubernetes/block-volume/specs/raw-claim.yaml b/examples/kubernetes/block-volume/specs/raw-claim.yaml index db3b6976f..62e571045 100644 --- a/examples/kubernetes/block-volume/specs/raw-claim.yaml +++ b/examples/kubernetes/block-volume/specs/raw-claim.yaml @@ -9,4 +9,4 @@ spec: storageClassName: powervs-sc resources: requests: - storage: 10Gi \ No newline at end of file + storage: 10Gi diff --git a/examples/kubernetes/block-volume/specs/storageclass.yaml b/examples/kubernetes/block-volume/specs/storageclass.yaml index 43cd5ed6a..8192c3e01 100644 --- a/examples/kubernetes/block-volume/specs/storageclass.yaml +++ b/examples/kubernetes/block-volume/specs/storageclass.yaml @@ -3,4 +3,4 @@ apiVersion: storage.k8s.io/v1 metadata: name: powervs-sc provisioner: powervs.csi.ibm.com -volumeBindingMode: WaitForFirstConsumer \ No newline at end of file +volumeBindingMode: WaitForFirstConsumer diff --git a/examples/kubernetes/dynamic-provisioning/specs/claim.yaml b/examples/kubernetes/dynamic-provisioning/specs/claim.yaml index 451fe8540..0125f5ab1 100644 --- a/examples/kubernetes/dynamic-provisioning/specs/claim.yaml +++ b/examples/kubernetes/dynamic-provisioning/specs/claim.yaml @@ -8,4 +8,4 @@ spec: storageClassName: powervs-sc resources: requests: - storage: 4Gi \ No newline at end of file + storage: 4Gi diff --git a/examples/kubernetes/dynamic-provisioning/specs/pod.yaml b/examples/kubernetes/dynamic-provisioning/specs/pod.yaml index 44f88d6eb..6c59b7dcd 100644 --- a/examples/kubernetes/dynamic-provisioning/specs/pod.yaml +++ b/examples/kubernetes/dynamic-provisioning/specs/pod.yaml @@ -14,4 +14,4 @@ spec: volumes: - name: persistent-storage persistentVolumeClaim: - claimName: powervs-claim \ No newline at end of file + claimName: powervs-claim diff --git a/examples/kubernetes/dynamic-provisioning/specs/storageclass.yaml b/examples/kubernetes/dynamic-provisioning/specs/storageclass.yaml index 43cd5ed6a..8192c3e01 100644 --- a/examples/kubernetes/dynamic-provisioning/specs/storageclass.yaml +++ b/examples/kubernetes/dynamic-provisioning/specs/storageclass.yaml @@ -3,4 +3,4 @@ apiVersion: storage.k8s.io/v1 metadata: name: powervs-sc provisioner: powervs.csi.ibm.com -volumeBindingMode: WaitForFirstConsumer \ No newline at end of file +volumeBindingMode: WaitForFirstConsumer diff --git a/examples/kubernetes/resizing/specs/example.yaml b/examples/kubernetes/resizing/specs/example.yaml index 919eb2e06..864f765ca 100644 --- a/examples/kubernetes/resizing/specs/example.yaml +++ b/examples/kubernetes/resizing/specs/example.yaml @@ -33,4 +33,4 @@ spec: volumes: - name: persistent-storage persistentVolumeClaim: - claimName: powervs-claim \ No newline at end of file + claimName: powervs-claim diff --git a/examples/kubernetes/static-provisioning/specs/example.yaml b/examples/kubernetes/static-provisioning/specs/example.yaml index 398ceaf34..ed0cb2ed6 100644 --- a/examples/kubernetes/static-provisioning/specs/example.yaml +++ b/examples/kubernetes/static-provisioning/specs/example.yaml @@ -43,4 +43,4 @@ spec: volumes: - name: persistent-storage persistentVolumeClaim: - claimName: powervs-claim \ No newline at end of file + claimName: powervs-claim diff --git a/examples/kubernetes/storageclass/specs/example.yaml b/examples/kubernetes/storageclass/specs/example.yaml index 646586f71..8b7506342 100644 --- a/examples/kubernetes/storageclass/specs/example.yaml +++ b/examples/kubernetes/storageclass/specs/example.yaml @@ -36,4 +36,4 @@ spec: volumes: - name: persistent-storage persistentVolumeClaim: - claimName: powervs-claim \ No newline at end of file + claimName: powervs-claim diff --git a/examples/pod.yaml b/examples/pod.yaml deleted file mode 100644 index 6f265327a..000000000 --- a/examples/pod.yaml +++ /dev/null @@ -1,18 +0,0 @@ - -apiVersion: v1 -kind: Pod -metadata: - name: app -spec: - containers: - - name: app - image: centos - command: ["/bin/sh"] - args: ["-c", "while true; do echo $(date -u) >> /data/out.txt; sleep 5; done"] - volumeMounts: - - name: persistent-storage - mountPath: /data - volumes: - - name: persistent-storage - persistentVolumeClaim: - claimName: powervs-claim diff --git a/examples/pvc.yaml b/examples/pvc.yaml deleted file mode 100644 index 128f40352..000000000 --- a/examples/pvc.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: powervs-claim -spec: - accessModes: - - ReadWriteOnce - storageClassName: powervs-sc - resources: - requests: - storage: 1Gi diff --git a/examples/sc.yaml b/examples/sc.yaml deleted file mode 100644 index 029819705..000000000 --- a/examples/sc.yaml +++ /dev/null @@ -1,9 +0,0 @@ -kind: StorageClass -apiVersion: storage.k8s.io/v1 -metadata: - name: powervs-sc -provisioner: powervs.csi.ibm.com -volumeBindingMode: WaitForFirstConsumer -parameters: - type: tier3 - csi.storage.k8s.io/fstype: xfs