I am trying to modify the umask value by adding it to my entrypoint script:
#!/bin/bash
umask 022
/sbin/rsyslogd
ENTRYPOINT ["/bin/sh", "-c" , "/var/run/scripts/entrypoint.sh"]
However, this doesn't seem to get modified. The pod is started up with a different user - is this affecting it? If so, what are the options to modify the umask this way?