Barney Murnin:
answer file:
spec:
securityContext:
runAsUser: 1010
Mumshad Mannambeth:
Hi @Barney Murnin, this is usually because its not set at the correct place.
Mumshad Mannambeth:
Are you setting it at the POD level or container level?
Mumshad Mannambeth:
Also when you edit the pod definition there might be another default entry for securityContext below that might be overriding your entry. Make sure there is only one entry for securityContext.
Barney Murnin:
I was setting it at the container level like the answer file
Barney Murnin:
thanks for answering. I have to restart the unit to get to that point again
Barney Murnin:
the error seems to be on the 1010 user id
Barney Murnin:
I am restarting this now
Barney Murnin:
same issue
Barney Murnin:
I deleted the piped out the yaml file and deleted the ubuntu-sleeper pod, then I made the edit as described in both the answer file and online documentation. and it fails on the 1010
Barney Murnin:
git it!! had to delete some things below. the question 2 says DO NOT TOUCH ANYTHING else
Barney Murnin:
thanks
Barney Murnin:
I appreciate your help! Thank you very much.
Mumshad Mannambeth:
Good to hear that! Glad you figured it out.