Skip to content

Commit

Permalink
[patch] fix nfs for manage and health
Browse files Browse the repository at this point in the history
  • Loading branch information
twhart committed Sep 18, 2024
1 parent b1630e9 commit 35dbea6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions ibm/mas_devops/roles/suite_app_config/vars/health.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ mas_app_settings_default_manage_supported_storage_classes:
- ocs-storagecluster-cephfs
- azurefiles-premium
- efs
- nfs-client

# properties to configure persistent volumes for doclinks i.e attachments
mas_app_settings_doclinks_pvc_storage_class: "{{ lookup('env', 'MAS_APP_SETTINGS_DOCLINKS_PVC_STORAGE_CLASS') }}" # if not defined by user, it will be automatically defined while setting persistent storage
Expand Down
1 change: 1 addition & 0 deletions ibm/mas_devops/roles/suite_app_config/vars/manage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ mas_app_settings_default_manage_supported_storage_classes:
- ocs-storagecluster-cephfs
- azurefiles-premium
- efs
- nfs-client

# properties to configure persistent volumes for doclinks i.e attachments
mas_app_settings_doclinks_pvc_storage_class: "{{ lookup('env', 'MAS_APP_SETTINGS_DOCLINKS_PVC_STORAGE_CLASS') }}" # if not defined by user, it will be automatically defined while setting persistent storage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
- mas_app_settings_custom_persistent_volume_sc_name is not defined or mas_app_settings_custom_persistent_volume_sc_name == ""
vars:
# ROKS, OCS, Azure
supported_storage_classes: [ibmc-file-gold-gid, ocs-storagecluster-cephfs, azurefiles-premium]
supported_storage_classes: [ibmc-file-gold-gid, ocs-storagecluster-cephfs, nfs-client, azurefiles-premium]
set_fact:
mas_app_settings_custom_persistent_volume_sc_name: "{{ lookup_storageclasses | ibm.mas_devops.defaultStorageClass(supported_storage_classes) }}"

Expand Down

0 comments on commit 35dbea6

Please sign in to comment.