You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: charts/lightrun-agents/templates/_checkConfig.tpl
-9Lines changed: 0 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -33,15 +33,6 @@ Compile all warnings into a single message, and call fail.
33
33
{{- $objectErrorMsgs = append $objectErrorMsgs"Workload Configuration Checker:\n Error: No workload configuration specified. Please provide either 'deploymentName' (legacy) OR 'workloadName' with 'workloadType' (recommended)." -}}
34
34
{{- end }}
35
35
36
-
{{- /* Validate workloadType if workloadName is provided */}}
37
-
{{- if .workloadName }}
38
-
{{- ifnot .workloadType }}
39
-
{{- $objectErrorMsgs = append $objectErrorMsgs"Workload Type Checker:\n Error: 'workloadName' is specified but 'workloadType' is missing. Please provide 'workloadType' (either 'Deployment' or 'StatefulSet')." -}}
{{- $objectErrorMsgs = append $objectErrorMsgs"Workload Type Checker:\n Error: Invalid 'workloadType' value. Must be either 'Deployment' or 'StatefulSet'." -}}
42
-
{{- end }}
43
-
{{- end }}
44
-
45
36
{{- ifnot .containerSelector }}
46
37
{{- $objectErrorMsgs = append $objectErrorMsgs"Container Selector Checker:\n Error: The 'containerSelector' field is missing. Please provide the 'containerSelector' parameter." -}}
0 commit comments