Add SYS_ADMIN capability to the server container

Max Brunsfeld and Nathan Sobo created

This will let us run perf(1) on the zed-server to debug
any performance problems we encounter in production.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Change summary

server/k8s/manifest.template.yml | 5 +++++
1 file changed, 5 insertions(+)

Detailed changes

server/k8s/manifest.template.yml 🔗

@@ -76,3 +76,8 @@ spec:
                 secretKeyRef:
                   name: github
                   key: privateKey
+          securityContext:
+            capabilities:
+              # FIXME - Switch to the more restrictive `PERFMON` capability.
+              # This capability isn't yet available in a stable version of Debian.
+              add: ["SYS_ADMIN"]