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/kube-ovn-v2/templates/_helpers.tpl
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -72,6 +72,9 @@ Get IP-addresses of master nodes
72
72
{{- end -}}
73
73
{{- end }}
74
74
{{- end -}}
75
+
{{- ifeq (len$ips) 0 -}}
76
+
{{- fail (printf"No nodes found with label '%s'. Please check your masterNodesLabels configuration or ensure master nodes are properly labeled."$.Values.masterNodesLabels) -}}
Copy file name to clipboardExpand all lines: charts/kube-ovn/templates/_helpers.tpl
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,9 @@ Get IP-addresses of master nodes
20
20
{{- end -}}
21
21
{{- end -}}
22
22
{{- end -}}
23
+
{{- ifeq (len$ips) 0 -}}
24
+
{{- fail (printf"No nodes found with label '%s'. Please check your MASTER_NODES_LABEL configuration or ensure master nodes are properly labeled."$.Values.MASTER_NODES_LABEL) -}}
0 commit comments