This is an automated email from the ASF dual-hosted git repository.

pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 64280db3bfed5dcc17b7516a05de859d36378566
Author: Gaelle Fournier <[email protected]>
AuthorDate: Thu Sep 14 16:28:06 2023 +0200

    feat(olm): Remove Openshift security warning message
---
 config/manager/operator-deployment.yaml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/config/manager/operator-deployment.yaml 
b/config/manager/operator-deployment.yaml
index f8e93a687..26898da2d 100644
--- a/config/manager/operator-deployment.yaml
+++ b/config/manager/operator-deployment.yaml
@@ -78,4 +78,12 @@ spec:
               port: 8081
             initialDelaySeconds: 20
             periodSeconds: 10
+          securityContext:
+            runAsNonRoot: true
+            seccompProfile:
+              type: RuntimeDefault
+            allowPrivilegeEscalation: false
+            capabilities:
+              drop:
+              - ALL
 

Reply via email to