Shared volume to store kubeconfig 83/3483/1
authoragrawalgaurav <gaurav.agrawal@huawei.com>
Mon, 18 May 2020 18:11:44 +0000 (23:41 +0530)
committeragrawalgaurav <gaurav.agrawal@huawei.com>
Mon, 18 May 2020 18:11:44 +0000 (23:41 +0530)
Change-Id: I40489883896863cd22b4ecd653d4e07e974060ef

mecm/mepm/applcm/resources/deployment/db-deployment.yaml
mecm/mepm/applcm/resources/deployment/helm-plugin-deployment.yaml

index b65dcd7..3d75520 100644 (file)
@@ -64,6 +64,7 @@ spec:
       - name: my-db
         hostPath:
           path: /data
+          type: DirectoryOrCreate
 status: {}
 
 # yamllint enable
index c7fac0d..c87b5e6 100644 (file)
@@ -60,9 +60,16 @@ spec:
         ports:
         - containerPort: 50051
         resources: {}
+        volumeMounts:
+          - mountPath: /go/release/kubeconfig/
+            name: config-dir
       restartPolicy: Always
       serviceAccountName: ""
-      volumes: null
+      volumes:
+        - name: config-dir
+          hostPath:
+            path: /kubeconfig
+            type: DirectoryOrCreate
 status: {}
 
 # yamllint enable