Hi everyone, I'm trying to put up an init container that needs to do this echo h . . .

Frankube:
Hi everyone, I’m trying to put up an init container that needs to do this echo hello kubernetes >> /work-dir/index.html
The / work-dir is an empy-dir mounted by an nginx
What should be the “command” for the “echo” command?
Thank you in advance

Frankube:
I found the correct sintax command: [“sh”,“-c”, “echo hello kubernetes >> /work-dir/index.html”]