From 759b5aee50155f5545c6442abed8f334e1a897e7 Mon Sep 17 00:00:00 2001 From: Vaibhav Jain Date: Thu, 26 Oct 2023 05:07:14 +0530 Subject: [PATCH] Set Env to define POD_NAMESPACE Signed-off-by: Vaibhav Jain --- config/manager/manager.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index 9ced5694..e6c4a10d 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -42,6 +42,11 @@ spec: imagePullPolicy: Always securityContext: allowPrivilegeEscalation: false + env: + - name: POD_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace livenessProbe: httpGet: path: /healthz