Minor rook-ceph cleanup
This PS just includes minor changes for consistency and readability. For consistency, patchesJSON6902 are always specified in kustomization.yaml as patchesJSON6902 even if they could be specified as patches. patchesStrategicMerge are always specified as patches. Change-Id: I96b07838730207984be815e5f8fa8f79f59cebe1
This commit is contained in:
parent
12a6940214
commit
a16ecc04a5
@ -15,7 +15,7 @@ data:
|
|||||||
osd_pool_default_size = 3
|
osd_pool_default_size = 3
|
||||||
mon_warn_on_pool_no_redundancy = true
|
mon_warn_on_pool_no_redundancy = true
|
||||||
# # You can add other default configuration sections
|
# # You can add other default configuration sections
|
||||||
# # to create fully customized ceph.conf
|
# # to create a fully customized ceph.conf
|
||||||
[mon]
|
[mon]
|
||||||
auth_allow_insecure_global_id_reclaim = false
|
auth_allow_insecure_global_id_reclaim = false
|
||||||
# [osd]
|
# [osd]
|
||||||
|
@ -1,17 +1,18 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
namespace: rook-ceph
|
namespace: rook-ceph
|
||||||
|
# Rook CephCluster Custom Resource along with recommended additions.
|
||||||
resources:
|
resources:
|
||||||
- ceph-conf.yaml
|
- ceph-conf.yaml
|
||||||
- upstream/cluster.yaml
|
- upstream/cluster.yaml
|
||||||
- upstream/toolbox.yaml
|
- upstream/toolbox.yaml
|
||||||
# Below is the functions section. You are free to comment out or in oppsite to remove comments
|
# Functions for select Rook Ceph Resources. These resources are
|
||||||
# enabling or disabling any function in the list.
|
# independent and can be commented out on an individual basis.
|
||||||
# All functions are independent, and can be deployed simultaneously at any moment.
|
|
||||||
- ../../function/rook-cluster/pools
|
- ../../function/rook-cluster/pools
|
||||||
- ../../function/rook-cluster/cephfs
|
- ../../function/rook-cluster/cephfs
|
||||||
- ../../function/rook-cluster/dashboard/http
|
- ../../function/rook-cluster/dashboard/http
|
||||||
- ../../function/rook-cluster/storageclasses
|
- ../../function/rook-cluster/storageclasses
|
||||||
|
# Resource customizations
|
||||||
patchesJSON6902:
|
patchesJSON6902:
|
||||||
- target:
|
- target:
|
||||||
kind: CephCluster
|
kind: CephCluster
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
resources:
|
resources:
|
||||||
- upstream/pool.yaml
|
- upstream/pool.yaml
|
||||||
patches:
|
patchesJSON6902:
|
||||||
- target:
|
- target:
|
||||||
kind: CephBlockPool
|
kind: CephBlockPool
|
||||||
name: replicapool
|
name: replicapool
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
resources:
|
resources:
|
||||||
- ../base
|
- ../base
|
||||||
namePrefix: rbd-
|
namePrefix: rbd-
|
||||||
patchesStrategicMerge:
|
patches:
|
||||||
- rbd-pool.yaml
|
- rbd-pool.yaml
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
resources:
|
resources:
|
||||||
- versions.yaml
|
- versions.yaml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user