From 0212be9a18c7a9544bb6b3565e1ff79bfd464641 Mon Sep 17 00:00:00 2001 From: Andrey Novitskiy Date: Tue, 25 Apr 2023 01:39:14 +0400 Subject: [PATCH] [Helm][ray-cluster] Fix parsing envFrom field in additionalWorkerGroups (#1039) Fix parsing envFrom field in additionalWorkerGroups --- helm-chart/ray-cluster/templates/raycluster-cluster.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm-chart/ray-cluster/templates/raycluster-cluster.yaml b/helm-chart/ray-cluster/templates/raycluster-cluster.yaml index 7f818ec7e39..1929d251c16 100644 --- a/helm-chart/ray-cluster/templates/raycluster-cluster.yaml +++ b/helm-chart/ray-cluster/templates/raycluster-cluster.yaml @@ -118,8 +118,8 @@ spec: {{- toYaml $values.securityContext | nindent 14 }} env: {{- toYaml $values.containerEnv | nindent 14}} - {{- with $values.envFrom }} - envFrom: {{- toYaml $ | nindent 14}} + {{- if $values.envFrom }} + envFrom: {{- toYaml $values.envFrom | nindent 14 }} {{- end }} ports: {{- toYaml $values.ports | nindent 14}} {{- if $values.lifecycle }}