Skip to content

New ssh-init initContainer not working as intended, causes startup issues #2408

@reegnz

Description

@reegnz

I've just upgraded to a recent renovate version and I'm seeing the following error from the init-container:

cp: target '/home/ubuntu/.ssh': Permission denied
chown: cannot access '/home/ubuntu/.ssh/*': Permission denied
chmod: cannot access '/home/ubuntu/.ssh/*': Permission denied

The chart version I'm using is 39.182.4, as far as I've seen this ssh-init functionaity was introduced about 2 weeks ago.

I assume the reason is that the entire pod runs as non-root, but the issue this change was introduced for is because the files in the secret are owned by root. You can't change the file owned by root to not be owned by root with a non-root user though. :P

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions