diff --git a/HelmChart/Public/oneuptime/templates/e2e-cron.yml b/HelmChart/Public/oneuptime/templates/e2e-cron.yml index aa2479ffbf..3aced79f97 100644 --- a/HelmChart/Public/oneuptime/templates/e2e-cron.yml +++ b/HelmChart/Public/oneuptime/templates/e2e-cron.yml @@ -1,5 +1,5 @@ -{{- if $.Values.cronJobs.e2e.enabled }} +{{- if and $.Values.cronJobs.e2e.enabled (not $.Values.deployment.disableDeployments) }} apiVersion: batch/v1 kind: CronJob