From 8371d04bfe3f701c96ee8ddd3caee5ddbbc0a6be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=A5=96=E5=BB=BA?= Date: Tue, 9 Jul 2024 16:04:43 +0800 Subject: [PATCH] remove unused environment variable LOG_ROTATE (#4270) Signed-off-by: zhangzujian --- charts/kube-ovn/templates/ovn-dpdk-ds.yaml | 3 +-- charts/kube-ovn/templates/ovsovn-ds.yaml | 3 +-- dist/images/install.sh | 6 ++---- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/charts/kube-ovn/templates/ovn-dpdk-ds.yaml b/charts/kube-ovn/templates/ovn-dpdk-ds.yaml index 1d799899980..c46e3389fce 100644 --- a/charts/kube-ovn/templates/ovn-dpdk-ds.yaml +++ b/charts/kube-ovn/templates/ovn-dpdk-ds.yaml @@ -94,8 +94,7 @@ spec: exec: command: - bash - - -c - - LOG_ROTATE=true /kube-ovn/ovs-healthcheck.sh + - /kube-ovn/ovs-healthcheck.sh periodSeconds: 5 timeoutSeconds: 45 livenessProbe: diff --git a/charts/kube-ovn/templates/ovsovn-ds.yaml b/charts/kube-ovn/templates/ovsovn-ds.yaml index 72a5eb40e22..8e11d767abb 100644 --- a/charts/kube-ovn/templates/ovsovn-ds.yaml +++ b/charts/kube-ovn/templates/ovsovn-ds.yaml @@ -134,8 +134,7 @@ spec: {{- else }} command: - bash - - -c - - LOG_ROTATE=true /kube-ovn/ovs-healthcheck.sh + - /kube-ovn/ovs-healthcheck.sh {{- end }} initialDelaySeconds: 10 periodSeconds: 5 diff --git a/dist/images/install.sh b/dist/images/install.sh index 254719eba61..57f6cf43dae 100644 --- a/dist/images/install.sh +++ b/dist/images/install.sh @@ -3719,8 +3719,7 @@ spec: exec: command: - bash - - -c - - LOG_ROTATE=true /kube-ovn/ovs-healthcheck.sh + - /kube-ovn/ovs-healthcheck.sh initialDelaySeconds: 10 periodSeconds: 5 timeoutSeconds: 45 @@ -3877,8 +3876,7 @@ spec: exec: command: - bash - - -c - - LOG_ROTATE=true /kube-ovn/ovs-healthcheck.sh + - /kube-ovn/ovs-healthcheck.sh periodSeconds: 5 timeoutSeconds: 45 livenessProbe: