- now supports init containers as well as regular containers
- can still target a pod by selector
- allows tracking when sync is done before continuing exec,
e.g. Using the same images and volume mnt as the regular container:
```
initContainers:
- name: data-loader
image: "registry1.dso.mil/ironbank/beast-code/beast-core/base-image:3.4.1"
# Wait for the data to be loaded
command:
[
"sh",
"-c",
'while [ ! -f /modules/.zarf-sync-complete ]; do echo "waiting for zarf data sync" && sleep 5; done',
]
volumeMounts:
- name: workspace
mountPath: /modules
```