From 9856459bde5397c32929ececfa973e59b6878a46 Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Thu, 12 Nov 2026 01:24:06 -0500 Subject: [PATCH] Constrain detector pod privileges --- k8s/deployment.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/k8s/deployment.yaml b/k8s/deployment.yaml index 00a334f..ce50931 100644 --- a/k8s/deployment.yaml +++ b/k8s/deployment.yaml @@ -21,11 +21,18 @@ spec: annotations: hosting.opensensor.io/launcher-sha256: 5e3bfc417b37dc760fa2ac9b67e36067f32210a53024af8327f73f0cf6eb07f6 spec: + automountServiceAccountToken: false imagePullSecrets: - name: whitewhale containers: - name: light-object-detect image: ghcr.io/opensensor/light-object-detect@sha256:d57cef3b12fc3308b79cddf81ac2988c002372134a0c388f6e54913c8c861644 + securityContext: + allowPrivilegeEscalation: false + capabilities: + drop: ["ALL"] + seccompProfile: + type: RuntimeDefault imagePullPolicy: IfNotPresent ports: - name: http