<p>I share a part of the manifest where I added security context added. If I remove the security context, it works fine. I try to use non-root user to up the container. Not sure, what I did wrong below</p>
<pre><code>containers:
        - name: {{ .Chart.Name }}
          image: &quot;{{ .Values.image.repository }}:{{ .Values.image.tag }}&quot;
          imagePullPolicy: {{ .Values.image.pullPolicy }}                             
          securityContext:
            runAsUser: 2000
            allowPrivilegeEscalation: false            
          ports:
            - name: http
              containerPort: 8010
              protocol: TCP                
          volumeMounts:
            - name: mount-jmx-secret
              mountPath: &quot;etc/hello-world&quot;                                                    
      volumes:
        - name: mount-jmx-secret
          secret:
            secretName: jmxsecret
            defaultMode: 0600   
</code></pre>

ratna
<p>I do not know what mistake I made. It worked fine after couple of reinstalls of helm charts.
Changes I made, Added a new user to docker file</p>
<pre><code>RUN useradd -u 8877 &lt;user_name&gt;(ram)
USER ram
</code></pre>
