Skip to content

Commit

Permalink
add rook-ceph schema
Browse files Browse the repository at this point in the history
  • Loading branch information
timtorChen committed Dec 18, 2024
1 parent 33b1109 commit 23a3592
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 4 deletions.
6 changes: 4 additions & 2 deletions kubernetes/rook-ceph/cephblock.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
# rbd-fast pool
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/ceph.rook.io/cephblockpool_v1.json
## rbd-fas-pool
apiVersion: ceph.rook.io/v1
kind: CephBlockPool
metadata:
Expand All @@ -12,7 +13,8 @@ spec:
size: 3
requireSafeReplicaSize: true
---
# rbd-fast-volatile pool
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/ceph.rook.io/cephblockpool_v1.json
## rbd-fast-volatile pool
apiVersion: ceph.rook.io/v1
kind: CephBlockPool
metadata:
Expand Down
1 change: 1 addition & 0 deletions kubernetes/rook-ceph/cephcluster.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/ceph.rook.io/cephcluster_v1.json
apiVersion: ceph.rook.io/v1
kind: CephCluster
metadata:
Expand Down
1 change: 1 addition & 0 deletions kubernetes/rook-ceph/cephfs.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/ceph.rook.io/cephfilesystem_v1.json
apiVersion: ceph.rook.io/v1
kind: CephFilesystem
metadata:
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/rook-ceph/cephobject.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
# fast.rgw.* pool
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/ceph.rook.io/cephobjectstore_v1.json
apiVersion: ceph.rook.io/v1
kind: CephObjectStore
metadata:
Expand Down
3 changes: 3 additions & 0 deletions kubernetes/rook-ceph/objectuser.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/ceph.rook.io/cephobjectstoreuser_v1.json
apiVersion: ceph.rook.io/v1
kind: CephObjectStoreUser
metadata:
Expand All @@ -11,6 +12,7 @@ spec:
user: "*"
bucket: "*"
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/ceph.rook.io/cephobjectstoreuser_v1.json
apiVersion: ceph.rook.io/v1
kind: CephObjectStoreUser
metadata:
Expand All @@ -20,6 +22,7 @@ spec:
store: fast
displayName: loki
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/ceph.rook.io/cephobjectstoreuser_v1.json
apiVersion: ceph.rook.io/v1
kind: CephObjectStoreUser
metadata:
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/rook-ceph/rook-ceph.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
# Helm
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/source.toolkit.fluxcd.io/helmrepository_v1.json
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
Expand Down

0 comments on commit 23a3592

Please sign in to comment.