Browse Source

Add target mount for gluster block

Mangirdas 7 years ago
parent
commit
4d9075feb7

+ 5 - 0
roles/openshift_storage_glusterfs/files/v3.10/glusterfs-template.yml

@@ -67,6 +67,8 @@ objects:
           - name: glusterfs-ssl
             mountPath: "/etc/ssl"
             readOnly: true
+          - name: glusterfs-target
+            mountPath: "/etc/target"
           securityContext:
             capabilities: {}
             privileged: true
@@ -123,6 +125,9 @@ objects:
         - name: glusterfs-ssl
           hostPath:
             path: "/etc/ssl"
+        - name: glusterfs-target
+          hostPath:
+            path: "/etc/target"
         restartPolicy: Always
         terminationGracePeriodSeconds: 30
         dnsPolicy: ClusterFirst

+ 5 - 0
roles/openshift_storage_glusterfs/files/v3.6/glusterfs-template.yml

@@ -67,6 +67,8 @@ objects:
           - name: glusterfs-ssl
             mountPath: "/etc/ssl"
             readOnly: true
+          - name: glusterfs-target
+            mountPath: "/etc/target"
           securityContext:
             capabilities: {}
             privileged: true
@@ -123,6 +125,9 @@ objects:
         - name: glusterfs-ssl
           hostPath:
             path: "/etc/ssl"
+        - name: glusterfs-target
+          hostPath:
+            path: "/etc/target"
         restartPolicy: Always
         terminationGracePeriodSeconds: 30
         dnsPolicy: ClusterFirst

+ 5 - 0
roles/openshift_storage_glusterfs/files/v3.7/glusterfs-template.yml

@@ -67,6 +67,8 @@ objects:
           - name: glusterfs-ssl
             mountPath: "/etc/ssl"
             readOnly: true
+          - name: glusterfs-target
+            mountPath: "/etc/target"
           securityContext:
             capabilities: {}
             privileged: true
@@ -123,6 +125,9 @@ objects:
         - name: glusterfs-ssl
           hostPath:
             path: "/etc/ssl"
+        - name: glusterfs-target
+          hostPath:
+            path: "/etc/target"
         restartPolicy: Always
         terminationGracePeriodSeconds: 30
         dnsPolicy: ClusterFirst

+ 5 - 0
roles/openshift_storage_glusterfs/files/v3.8/glusterfs-template.yml

@@ -67,6 +67,8 @@ objects:
           - name: glusterfs-ssl
             mountPath: "/etc/ssl"
             readOnly: true
+          - name: glusterfs-target
+            mountPath: "/etc/target"
           securityContext:
             capabilities: {}
             privileged: true
@@ -123,6 +125,9 @@ objects:
         - name: glusterfs-ssl
           hostPath:
             path: "/etc/ssl"
+        - name: glusterfs-target
+          hostPath:
+            path: "/etc/target"
         restartPolicy: Always
         terminationGracePeriodSeconds: 30
         dnsPolicy: ClusterFirst

+ 5 - 0
roles/openshift_storage_glusterfs/files/v3.9/glusterfs-template.yml

@@ -67,6 +67,8 @@ objects:
           - name: glusterfs-ssl
             mountPath: "/etc/ssl"
             readOnly: true
+          - name: glusterfs-target
+            mountPath: "/etc/target"
           securityContext:
             capabilities: {}
             privileged: true
@@ -123,6 +125,9 @@ objects:
         - name: glusterfs-ssl
           hostPath:
             path: "/etc/ssl"
+        - name: glusterfs-target
+          hostPath:
+            path: "/etc/target"
         restartPolicy: Always
         terminationGracePeriodSeconds: 30
         dnsPolicy: ClusterFirst