Skip to content

Commit

Permalink
kube driver: add preevy data dir to persistent volume
Browse files Browse the repository at this point in the history
  • Loading branch information
Roy Razon committed Jan 31, 2024
1 parent fd05dc3 commit 953f115
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions packages/driver-kube-pod/static/default-template.yaml.njk
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ metadata:
data:
daemon.json: |
{
"tls": false,
"data-root": "/data/docker"
"tls": false
}
---
apiVersion: apps/v1
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 953f115

Please sign in to comment.