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: