diff --git a/charts/atlas-deployment/templates/atlas-deployment.yaml b/charts/atlas-deployment/templates/atlas-deployment.yaml index 3b88572c..2ec978da 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 }} ---