You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by kl...@apache.org on 2022/07/28 13:51:16 UTC

[incubator-devlake] branch main updated: feat: add DirectoryOrCreate in k8s-deploy.yaml (#2625)

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

klesh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/main by this push:
     new c55f292e feat: add DirectoryOrCreate in k8s-deploy.yaml (#2625)
c55f292e is described below

commit c55f292e3ff2fc615501b7cdc499d71fe924d058
Author: Prasurjya Pran Borah <96...@users.noreply.github.com>
AuthorDate: Thu Jul 28 19:21:11 2022 +0530

    feat: add DirectoryOrCreate in k8s-deploy.yaml (#2625)
    
    * feat: add DirectoryOrCreate in k8s-deploy.yaml
    
    Required directory creation in k8s-workers through k8s-deploy.yaml
    
    * feat: add DirectoryOrCreate in k8s-deploy.yaml2
    
    fixes
---
 k8s-deploy.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/k8s-deploy.yaml b/k8s-deploy.yaml
index 951935ce..7048cd5a 100644
--- a/k8s-deploy.yaml
+++ b/k8s-deploy.yaml
@@ -204,6 +204,10 @@ spec:
             - name: config
               mountPath: "/app/.env"
       volumes:
+        - name: configdir
+          hostPath:
+            path: /var/lib/devlake
+            type: DirectoryOrCreate
         - name: config
           hostPath:
             path: /var/lib/devlake/env