ikatlinsky opened a new issue, #563:
URL: https://github.com/apache/apisix-helm-chart/issues/563

   **Motivation**
   
   The Ingress controller chart allows to provide security context for the 
container, but it is only applied to the init container of the ingress 
controller pod, which seem like not expected behaviour.
   
   ```
   securityContext: {}
     # capabilities:
     #   drop:
     #   - ALL
     # readOnlyRootFilesystem: true
     # runAsNonRoot: true
     # runAsUser: 1000
   ```
   
   **Proposal**
   
   Add security context for the ingress container in the same way as for the 
init container
   
   ```
   containers:
       // ...
       securityContext:
               {{- toYaml .Values.securityContext | nindent 12 }}
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to