You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by om...@apache.org on 2019/07/25 14:07:25 UTC

[incubator-dlab] branch DLAB-terraform updated: fixed mount volumes

This is an automated email from the ASF dual-hosted git repository.

omartushevskyi pushed a commit to branch DLAB-terraform
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/DLAB-terraform by this push:
     new ffd0029  fixed mount volumes
ffd0029 is described below

commit ffd0029e11211c344cc27b935ff02fa4c48bc41d
Author: Oleh Martushevskyi <Ol...@epam.com>
AuthorDate: Thu Jul 25 17:07:16 2019 +0300

    fixed mount volumes
---
 .../main/dlab-billing-chart/templates/deployment.yaml               | 6 +++++-
 .../ssn-helm-charts/main/dlab-ui-chart/templates/deployment.yaml    | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/infrastructure-provisioning/terraform/aws/ssn-helm-charts/main/dlab-billing-chart/templates/deployment.yaml b/infrastructure-provisioning/terraform/aws/ssn-helm-charts/main/dlab-billing-chart/templates/deployment.yaml
index 3331d25..a955911 100644
--- a/infrastructure-provisioning/terraform/aws/ssn-helm-charts/main/dlab-billing-chart/templates/deployment.yaml
+++ b/infrastructure-provisioning/terraform/aws/ssn-helm-charts/main/dlab-billing-chart/templates/deployment.yaml
@@ -55,13 +55,17 @@ spec:
             {{- toYaml .Values.resources | nindent 12 }}
           volumeMounts:
             - name: billing-yml
-              mountPath: /root/
+              mountPath: /root/billing.yml
+              subPath: billing
               readOnly: true
       volumes:
         - name: billing-yml
           configMap:
             name: {{ include "dlab-billing.fullname" . }}-billing-yml
             defaultMode: 0644
+            items:
+              - key: billing.yml
+                path: billing
       {{- with .Values.nodeSelector }}
       nodeSelector:
         {{- toYaml . | nindent 8 }}
diff --git a/infrastructure-provisioning/terraform/aws/ssn-helm-charts/main/dlab-ui-chart/templates/deployment.yaml b/infrastructure-provisioning/terraform/aws/ssn-helm-charts/main/dlab-ui-chart/templates/deployment.yaml
index ca1f3d6..1b87243 100644
--- a/infrastructure-provisioning/terraform/aws/ssn-helm-charts/main/dlab-ui-chart/templates/deployment.yaml
+++ b/infrastructure-provisioning/terraform/aws/ssn-helm-charts/main/dlab-ui-chart/templates/deployment.yaml
@@ -66,13 +66,17 @@ spec:
             {{- toYaml .Values.resources | nindent 12 }}
           volumeMounts:
             - name: ssn-yml
-              mountPath: /root/
+              mountPath: /root/ssn.yml
+              subPath: ssn
               readOnly: true
       volumes:
         - name: ssn-yml
           configMap:
             name: {{ include "dlab-ui.fullname" . }}-ssn-yml
             defaultMode: 0644
+            items:
+              - key: ssn.yml
+                path: ssn
       {{- with .Values.nodeSelector }}
       nodeSelector:
         {{- toYaml . | nindent 8 }}


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org