From c46ddc439111eba922af194ff09df7374d6c4e1a Mon Sep 17 00:00:00 2001 From: zhangzujian Date: Tue, 9 Jul 2024 06:18:28 +0000 Subject: [PATCH] remove unused environment variable LOG_ROTATE 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 3f8f38c1a8e..fc806c0b12b 100755 --- 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: