From 35dbea6c7bc2f9405df3e3da07874fe18c53f455 Mon Sep 17 00:00:00 2001 From: Tremaine Hart Date: Wed, 18 Sep 2024 09:34:36 -0500 Subject: [PATCH] [patch] fix nfs for manage and health --- ibm/mas_devops/roles/suite_app_config/vars/health.yml | 1 + ibm/mas_devops/roles/suite_app_config/vars/manage.yml | 1 + .../suite_manage_pvc_config/tasks/determine-storage-classes.yml | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ibm/mas_devops/roles/suite_app_config/vars/health.yml b/ibm/mas_devops/roles/suite_app_config/vars/health.yml index 993fd9dc1..bdd9363ae 100644 --- a/ibm/mas_devops/roles/suite_app_config/vars/health.yml +++ b/ibm/mas_devops/roles/suite_app_config/vars/health.yml @@ -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 diff --git a/ibm/mas_devops/roles/suite_app_config/vars/manage.yml b/ibm/mas_devops/roles/suite_app_config/vars/manage.yml index ba0f1809c..79210f613 100644 --- a/ibm/mas_devops/roles/suite_app_config/vars/manage.yml +++ b/ibm/mas_devops/roles/suite_app_config/vars/manage.yml @@ -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 diff --git a/ibm/mas_devops/roles/suite_manage_pvc_config/tasks/determine-storage-classes.yml b/ibm/mas_devops/roles/suite_manage_pvc_config/tasks/determine-storage-classes.yml index b7f37cfab..d40e2e5d2 100644 --- a/ibm/mas_devops/roles/suite_manage_pvc_config/tasks/determine-storage-classes.yml +++ b/ibm/mas_devops/roles/suite_manage_pvc_config/tasks/determine-storage-classes.yml @@ -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) }}"