From ad409cd89a6e4d84ab5b6397fd3307e79e706cb0 Mon Sep 17 00:00:00 2001 From: openyurt-bot Date: Mon, 15 Jan 2024 06:06:10 +0000 Subject: [PATCH] align with raven-agent charts refs/heads/main from commit ef4b2ed4d7c94deb01a5a2deb311cb82e0fb37e9 --- charts/raven-agent/templates/daemonset.yaml | 2 ++ charts/raven-agent/values.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/charts/raven-agent/templates/daemonset.yaml b/charts/raven-agent/templates/daemonset.yaml index 1b57bb0..7da7e1c 100644 --- a/charts/raven-agent/templates/daemonset.yaml +++ b/charts/raven-agent/templates/daemonset.yaml @@ -54,6 +54,8 @@ spec: - --metric-bind-addr={{.Values.vpn.metricBindAddr}} - --health-probe-addr={{.Values.healthyBindAddr}} - --vpn-bind-port={{.Values.vpn.tunnelAddr}} + - --keep-alive-interval={{.Values.vpn.keepAliveInterval}} + - --keep-alive-timeout={{.Values.vpn.keepAliveTimeout}} - --proxy-metric-bind-addr={{.Values.proxy.metricsBindAddr}} - --proxy-internal-secure-addr={{.Values.proxy.internalSecureAddr}} - --proxy-internal-insecure-addr={{.Values.proxy.internalInsecureAddr}} diff --git a/charts/raven-agent/values.yaml b/charts/raven-agent/values.yaml index 623067e..900497e 100644 --- a/charts/raven-agent/values.yaml +++ b/charts/raven-agent/values.yaml @@ -64,6 +64,8 @@ vpn: driver: libreswan forwardNodeIP: false natTraversal: false + keepAliveInterval: 15 + keepAliveTimeout: 30 # raven-agent requires a unique vpn psk # You can generate one with the command: # 'openssl rand -hex 64'