Skip to content

Commit fb46d26

Browse files
authored
Merge pull request #2003 from rahulait/ignore-empty-mig-config-name
[fix] : avoid setting empty value for migmanager config's name
2 parents 208ab8c + 690c9ae commit fb46d26

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

deployments/gpu-operator/templates/clusterpolicy.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,9 @@ spec:
596596
{{- end }}
597597
{{- if .Values.migManager.config }}
598598
config:
599+
{{- if .Values.migManager.config.name }}
599600
name: {{ .Values.migManager.config.name }}
601+
{{- end }}
600602
default: {{ .Values.migManager.config.default | quote }}
601603
{{- end }}
602604
{{- if .Values.migManager.gpuClientsConfig }}

0 commit comments

Comments
 (0)