From fc8888cb4d8d44d4540a2e23f8067e9b3080ec2e Mon Sep 17 00:00:00 2001 From: ClarenceLiu <77435552+ComingCL@users.noreply.github.com> Date: Fri, 4 Apr 2025 00:04:15 +0800 Subject: [PATCH] Fix(CUE): remove duplicate tcpSocket in startup-probe (#6528) Signed-off-by: ComingCL <1328004790@qq.com> --- charts/vela-core/templates/defwithtemplate/startup-probe.yaml | 3 --- vela-templates/definitions/internal/trait/startup-probe.cue | 3 --- 2 files changed, 6 deletions(-) diff --git a/charts/vela-core/templates/defwithtemplate/startup-probe.yaml b/charts/vela-core/templates/defwithtemplate/startup-probe.yaml index 0aafb72ff..130fb698a 100644 --- a/charts/vela-core/templates/defwithtemplate/startup-probe.yaml +++ b/charts/vela-core/templates/defwithtemplate/startup-probe.yaml @@ -98,9 +98,6 @@ spec: if _params.periodSeconds != _|_ { periodSeconds: _params.periodSeconds } - if _params.tcpSocket != _|_ { - tcpSocket: _params.tcpSocket - } if _params.timeoutSeconds != _|_ { timeoutSeconds: _params.timeoutSeconds } diff --git a/vela-templates/definitions/internal/trait/startup-probe.cue b/vela-templates/definitions/internal/trait/startup-probe.cue index 13cbaf740..66cc87e7a 100644 --- a/vela-templates/definitions/internal/trait/startup-probe.cue +++ b/vela-templates/definitions/internal/trait/startup-probe.cue @@ -89,9 +89,6 @@ template: { if _params.periodSeconds != _|_ { periodSeconds: _params.periodSeconds } - if _params.tcpSocket != _|_ { - tcpSocket: _params.tcpSocket - } if _params.timeoutSeconds != _|_ { timeoutSeconds: _params.timeoutSeconds }