Skip to content

Commit

Permalink
chore: add missing pod log volumes in e2e (dragonflyoss#1037)
Browse files Browse the repository at this point in the history
Signed-off-by: Jim Ma <[email protected]>
  • Loading branch information
jim3ma authored Jan 25, 2022
1 parent ec03cd9 commit af5f6c9
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions test/testdata/charts/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@ scheduler:
tag: latest
replicas: 3
extraVolumeMounts:
- name: logs
mountPath: "/var/log/"
- name: artifact
mountPath: /tmp/artifact
extraVolumes:
- name: logs
emptyDir: { }
- name: artifact
hostPath:
path: /tmp/artifact
Expand All @@ -15,9 +19,17 @@ cdn:
tag: latest
replicas: 3
extraVolumeMounts:
- name: logs
mountPath: "/var/log/nginx"
subPath: nginx
- name: logs
mountPath: "/var/log/dragonfly"
subPath: dragonfly
- name: artifact
mountPath: /tmp/artifact
extraVolumes:
- name: logs
emptyDir: { }
- name: artifact
hostPath:
path: /tmp/artifact
Expand All @@ -26,9 +38,13 @@ dfdaemon:
image: d7yio/dfdaemon
tag: latest
extraVolumeMounts:
- name: logs
mountPath: "/var/log/"
- name: artifact
mountPath: /tmp/artifact
extraVolumes:
- name: logs
emptyDir: { }
- name: artifact
hostPath:
path: /tmp/artifact
Expand Down Expand Up @@ -58,9 +74,13 @@ manager:
tag: latest
replicas: 3
extraVolumeMounts:
- name: logs
mountPath: "/var/log/"
- name: artifact
mountPath: /tmp/artifact
extraVolumes:
- name: logs
emptyDir: { }
- name: artifact
hostPath:
path: /tmp/artifact

0 comments on commit af5f6c9

Please sign in to comment.