Skip to content

Commit

Permalink
Added deployment config for custom storageclass names (red-hat-storag…
Browse files Browse the repository at this point in the history
…e#8444)


Signed-off-by: Parag Kamble <[email protected]>
  • Loading branch information
paraggit authored Sep 11, 2023
1 parent f9efa84 commit a79f1b3
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
2 changes: 2 additions & 0 deletions conf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,8 @@ higher priority).
* `lvmo` - set to True if it's LVMO deployment - mainly used for reporting purpose.
* `nb_nfs_server` - NFS server used for testing noobaa db NFS mount test
* `nb_nfs_mount` - NFS mount point used specifically for testing noobaa db NFS mount test
* `custom_default_storageclass_names` - Set to true if custom storageclass names use instead of default one.
* `storageclassnames` - Under this key, custom storage class names for `cephFilesystems`, `cephObjectStores`, `cephBlockPools`, `cephNonResilientPools`, `nfs` and for `encryption` are defined.

#### UPGRADE

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
# This config is used to deploy with custom storageclass names.
DEPLOYMENT:
allow_lower_instance_requirements: false
ENV_DATA:
platform: 'vsphere'
deployment_type: 'upi'
worker_replicas: 3
master_replicas: 3
worker_num_cpus: '16'
master_num_cpus: '4'
master_memory: '16384'
compute_memory: '65536'
fio_storageutilization_min_mbps: 10.0
custom_default_storageclass_names: true
storageclassnames:
cephFilesystems: custom-storageclass-cephfs
cephObjectStores: custom-storageclass-ceph-rgw
cephBlockPools: custom-storageclass-blockpools
cephNonResilientPools: custom-ceph-nonresilientpools
nfs: custom-storageclass-nfs
encryption: custom-storageclass-encryption
REPORTING:
polarion:
deployment_id: 'OCS-5131'

4 changes: 3 additions & 1 deletion conf/ocsci/custom_storageclass_names.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
# This config is used to deploy with custom storageclass names.
ENV_DATA:
custom_default_storageclass_names: true
storageclassnames:
Expand All @@ -7,4 +8,5 @@ ENV_DATA:
cephBlockPools: custom-storageclass-blockpools
cephNonResilientPools: custom-ceph-nonresilientpools
nfs: custom-storageclass-nfs
encryption: custom-storageclass-encryption
encryption: custom-storageclass-encryption

0 comments on commit a79f1b3

Please sign in to comment.