From 953f1155bcd9cec8e01e6253b2ef4aec6b62892d Mon Sep 17 00:00:00 2001 From: Roy Razon Date: Wed, 31 Jan 2024 12:09:01 +0200 Subject: [PATCH] kube driver: add preevy data dir to persistent volume --- .../driver-kube-pod/static/default-template.yaml.njk | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/driver-kube-pod/static/default-template.yaml.njk b/packages/driver-kube-pod/static/default-template.yaml.njk index 361f1b00..3e72aab9 100644 --- a/packages/driver-kube-pod/static/default-template.yaml.njk +++ b/packages/driver-kube-pod/static/default-template.yaml.njk @@ -14,8 +14,7 @@ metadata: data: daemon.json: | { - "tls": false, - "data-root": "/data/docker" + "tls": false } --- apiVersion: apps/v1 @@ -50,7 +49,11 @@ spec: - name: docker-config mountPath: /etc/docker - name: data - mountPath: /data + subPath: docker + mountPath: /var/lib/docker + - name: data + subPath: preevy + mountPath: /var/lib/preevy volumes: - name: docker-config configMap: