I want to execute script before I run my container
If I execute script in container like that
containers:
- name: myservice
image: myservice.azurecr.io/myservice:1.0.6019912
volumeMounts:
- name: secrets-store-inline
mountPath: "/mnt/secrets-store"
readOnly: true
command:
- '/bin/bash'
- '-c'
- 'ls /mnt/secrets-store;'
then that command replaces my entrypoint and the pod exits. How can I execute command but then start the container after that