Sidd:
Hi, though I have added SecurityContext, the pod still runs as a root user. I checked the solution file too it has same contents. What am I missing?
ZM:
You pod spec has two keys named SecurityContext
the last one with value {}
that overrides whatever you defined at the top
Sidd:
Good catch. I generated the file using -o yaml
and missed the other SecurityContext