Skip to content

Commit

Permalink
tweak sync annotations test
Browse files Browse the repository at this point in the history
  • Loading branch information
bpblanken committed Oct 11, 2024
1 parent 1e77921 commit e83ebaf
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions unit_test/hail-search/persistentvolume.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,11 @@ volumeMounts: |-
initContainers: |-
- name: sync-annotations
image: busybox
image: eeacms/rsync
command: [
'/bin/sh',
'/bin/sh',
'-c',
'mkdir -p {{ $.Values.environment.IN_MEMORY_DIR }}',
'&&',
'rsync',
'--recursive',
'--include="*/*/annotations.ht/***"',
'--exclude="*/*/*"',
'{{ $.Values.environment.HAIL_SEARCH_DATA_DIR }}',
'{{ $.Values.environment.IN_MEMORY_DIR }}',
'cd {{ $.Values.environment.HAIL_SEARCH_DATA_DIR }}; rsync --recursive --include="*/*/annotations.ht/***" --exclude="*/*/*" . {{ $.Values.environment.IN_MEMORY_DIR }}',
]
{{- with $.Values.volumeMounts }}
volumeMounts:
Expand Down

0 comments on commit e83ebaf

Please sign in to comment.