diff --git a/kubernetes/rook-ceph/cephblock.yaml b/kubernetes/rook-ceph/cephblock.yaml index e4c2560c..2981da94 100644 --- a/kubernetes/rook-ceph/cephblock.yaml +++ b/kubernetes/rook-ceph/cephblock.yaml @@ -27,7 +27,8 @@ spec: size: 1 requireSafeReplicaSize: false --- -# StorageClass rbd-fast +# yaml-language-server: $schema=https://raw.githubusercontent.com/yannh/kubernetes-json-schema/refs/heads/master/master/storageclass-storage-v1.json +## StorageClass rbd-fast apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: @@ -47,7 +48,8 @@ parameters: reclaimPolicy: Retain allowVolumeExpansion: true --- -# StorageClass rbd-fast-delete +# yaml-language-server: $schema=https://raw.githubusercontent.com/yannh/kubernetes-json-schema/refs/heads/master/master/storageclass-storage-v1.json +## StorageClass rbd-fast-delete apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: @@ -67,7 +69,8 @@ parameters: reclaimPolicy: Delete allowVolumeExpansion: true --- -# StorageClass rbd-fast-volatile +# yaml-language-server: $schema=https://raw.githubusercontent.com/yannh/kubernetes-json-schema/refs/heads/master/master/storageclass-storage-v1.json +## StorageClass rbd-fast-volatile apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: diff --git a/kubernetes/rook-ceph/cephfs.yaml b/kubernetes/rook-ceph/cephfs.yaml index 14bf736a..0324b82d 100644 --- a/kubernetes/rook-ceph/cephfs.yaml +++ b/kubernetes/rook-ceph/cephfs.yaml @@ -46,7 +46,8 @@ spec: cpu: 500m memory: 1Gi --- -# StorageClass fs-fast +# yaml-language-server: $schema=https://raw.githubusercontent.com/yannh/kubernetes-json-schema/refs/heads/master/master/storageclass-storage-v1.json +## StorageClass fs-fast apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: @@ -65,7 +66,8 @@ parameters: reclaimPolicy: Retain allowVolumeExpansion: true --- -# StorageClass fs-fast-delete +# yaml-language-server: $schema=https://raw.githubusercontent.com/yannh/kubernetes-json-schema/refs/heads/master/master/storageclass-storage-v1.json +## StorageClass fs-fast-delete apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: @@ -84,7 +86,8 @@ parameters: reclaimPolicy: Delete allowVolumeExpansion: true --- -# StorageClass fs-fast-volatile +# yaml-language-server: $schema=https://raw.githubusercontent.com/yannh/kubernetes-json-schema/refs/heads/master/master/storageclass-storage-v1.json +## StorageClass fs-fast-volatile apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: