Bladeren bron

Merge pull request #4798 from abutcher/hosted-etcd-pv

Add etcd exports to openshift_storage_nfs
Scott Dodson 7 jaren geleden
bovenliggende
commit
4f5aa38fc9
2 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 1 1
      roles/openshift_storage_nfs/tasks/main.yml
  2. 1 0
      roles/openshift_storage_nfs/templates/exports.j2

+ 1 - 1
roles/openshift_storage_nfs/tasks/main.yml

@@ -30,7 +30,7 @@
     - "{{ openshift.hosted.metrics }}"
     - "{{ openshift.hosted.logging }}"
     - "{{ openshift.hosted.loggingops }}"
-
+    - "{{ openshift.hosted.etcd }}"
 
 - name: Configure exports
   template:

+ 1 - 0
roles/openshift_storage_nfs/templates/exports.j2

@@ -2,3 +2,4 @@
 {{ openshift.hosted.metrics.storage.nfs.directory }}/{{ openshift.hosted.metrics.storage.volume.name }} {{ openshift.hosted.metrics.storage.nfs.options }}
 {{ openshift.hosted.logging.storage.nfs.directory }}/{{ openshift.hosted.logging.storage.volume.name }} {{ openshift.hosted.logging.storage.nfs.options }}
 {{ openshift.hosted.loggingops.storage.nfs.directory }}/{{ openshift.hosted.loggingops.storage.volume.name }} {{ openshift.hosted.loggingops.storage.nfs.options }}
+{{ openshift.hosted.etcd.storage.nfs.directory }}/{{ openshift.hosted.etcd.storage.volume.name }} {{ openshift.hosted.etcd.storage.nfs.options }}