fix(gitops): handle missing nodeLabel in protocol ApplicationSet template
This commit is contained in:
1 parent
23c1e41e2e
commit
881a98d8be
1 file changed
+1
-1
@@ -42,7 +42,7 @@ spec:
|
||||
- {{ . | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .nodeLabel }}
|
||||
{{- if hasKey . "nodeLabel" }}
|
||||
nodeSelector:
|
||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
||||
{{- end }}
|
||||
|
||||
Reference in new issue
Block a user