From ae753da7f9838dce5a8319c1904eb5130c749063 Mon Sep 17 00:00:00 2001 From: Igor Karpukhin Date: Wed, 27 Nov 2024 10:27:37 +0100 Subject: [PATCH] Fixed null serverlessSpec --- charts/atlas-deployment/templates/atlas-deployment.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/charts/atlas-deployment/templates/atlas-deployment.yaml b/charts/atlas-deployment/templates/atlas-deployment.yaml index 3b88572c..611cc4ef 100644 --- a/charts/atlas-deployment/templates/atlas-deployment.yaml +++ b/charts/atlas-deployment/templates/atlas-deployment.yaml @@ -24,9 +24,11 @@ spec: deploymentSpec: {{- toYaml .deploymentSpec | nindent 4 }} {{- end }} + {{- if .serverlessSpec }} serverlessSpec: {{- toYaml .serverlessSpec | nindent 4}} {{- end }} + {{- end }} {{- if $.Values.postInstallHook.enabled }} ---