diff --git a/stack_orchestrator/deploy/k8s/cluster_info.py b/stack_orchestrator/deploy/k8s/cluster_info.py index d1a9e72d..5a202ebd 100644 --- a/stack_orchestrator/deploy/k8s/cluster_info.py +++ b/stack_orchestrator/deploy/k8s/cluster_info.py @@ -567,6 +567,7 @@ class ClusterInfo: volume_mounts=volume_mounts, security_context=client.V1SecurityContext( privileged=self.spec.get_privileged(), + run_as_user=int(service_info["user"]) if "user" in service_info else None, capabilities=client.V1Capabilities( add=self.spec.get_capabilities() )