From 3bd9c6cd9634a570f0e737e3aa30628fb25efc5a Mon Sep 17 00:00:00 2001 From: sohan Date: Wed, 17 Jul 2024 14:19:55 +0600 Subject: [PATCH] added new arg in webhook deployment Signed-off-by: sohan --- charts/inbox-agent/templates/webhook/deployment.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/charts/inbox-agent/templates/webhook/deployment.yaml b/charts/inbox-agent/templates/webhook/deployment.yaml index 1cea7b4..dfb3c61 100644 --- a/charts/inbox-agent/templates/webhook/deployment.yaml +++ b/charts/inbox-agent/templates/webhook/deployment.yaml @@ -60,6 +60,12 @@ spec: args: - webhook - --webhook-name={{ include "inbox-agent.fullname" . }} + {{- if .Values.inboxServer.jmapEndpoint }} + - --jmapEndpoint={{ .Values.inboxServer.jmapEndpoint }} + {{- end }} + {{- if .Values.inboxServer.webadminEndpoint }} + - --webadminEndpoint={{ .Values.inboxServer.webadminEndpoint }} + {{- end }} env: - name: POD_NAME valueFrom: