lkindere commented on issue #1071:
URL: https://github.com/apache/polaris/issues/1071#issuecomment-2688580734

   Actually it looks like the problem is with 
   
   ```
   containerSecurityContext:
      capabilities:
        drop: [ "ALL" ]
   ```
   
   For example this succeeds:
   
   ```
   image:
     pullPolicy: Never
   
   storage:
     secret:
       name: polaris-storage
       awsAccessKeyId: access-key
       awsSecretAccessKey: secret-key
   
   containerSecurityContext:
      allowPrivilegeEscalation: false
      runAsNonRoot: true
      runAsUser: 10000
     #  capabilities:
     #    drop: [ "ALL" ]
      seccompProfile:
        type: RuntimeDefault
   
   ```
   
   While this fails:
   
   ```
   image:
     pullPolicy: Never
   
   storage:
     secret:
       name: polaris-storage
       awsAccessKeyId: access-key
       awsSecretAccessKey: secret-key
   
   containerSecurityContext:
      allowPrivilegeEscalation: false
      runAsNonRoot: true
      runAsUser: 10000
      capabilities:
        drop: [ "ALL" ]
      seccompProfile:
        type: RuntimeDefault
   
   ```
   
   Is there any way to deploy it with the capabilities dropped, as this is an 
enforcement we have on the Kubernetes cluster?


-- 
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