diff --git a/helm/chart/templates/cronjob-fixture-reset.yaml b/helm/chart/templates/cronjob-fixture-reset.yaml index fa244e2..2d6a0fb 100644 --- a/helm/chart/templates/cronjob-fixture-reset.yaml +++ b/helm/chart/templates/cronjob-fixture-reset.yaml @@ -1,3 +1,4 @@ +{{- if .Values.php.fixtureCron.enabled }} apiVersion: batch/v1 kind: CronJob metadata: @@ -197,3 +198,4 @@ spec: periodSeconds: 3 resources: {{- toYaml .Values.resources.fixtures | nindent 16 }} +{{ - end }} \ No newline at end of file diff --git a/helm/chart/templates/fixtures-job.yaml b/helm/chart/templates/fixtures-job.yaml index 45f9245..55c2a86 100644 --- a/helm/chart/templates/fixtures-job.yaml +++ b/helm/chart/templates/fixtures-job.yaml @@ -1,3 +1,4 @@ +{{- if .Values.php.fixtureJob.enabled }} apiVersion: batch/v1 kind: Job metadata: @@ -208,3 +209,4 @@ spec: tolerations: {{- toYaml . | nindent 8 }} {{- end }} +{{ - end }} \ No newline at end of file diff --git a/helm/chart/values.yaml b/helm/chart/values.yaml index e9f16a8..c718313 100644 --- a/helm/chart/values.yaml +++ b/helm/chart/values.yaml @@ -33,6 +33,10 @@ php: usePathStyleEndpoint: true publicKey: "" secret: "" + fixtureJob: + enabled: false + fixtureCron: + enabled: false maildev: enabled: false