fix(gitops): handle missing nodeLabel in protocol ApplicationSet template

This commit is contained in:
ximenchuifeng committed 2026-07-10 09:54:34 +08:00
1 parent 23c1e41e2e
commit 881a98d8be
1 file changed
+1 -1
+1 -1
View File
@@ -42,7 +42,7 @@ spec:
- {{ . | quote }}
{{- end }}
{{- end }}
{{- if .nodeLabel }}
{{- if hasKey . "nodeLabel" }}
nodeSelector:
mixingx.io/edge-node: "{{ .nodeLabel }}"
{{- end }}