From 1523ba232bd97ad269e176f8bb4bab8952e3c80a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20=C5=A0alata?= Date: Mon, 5 Apr 2021 09:06:41 +0200 Subject: [PATCH] Set cron job to run once a week --- helm/imagepullsecret-injector/Chart.yaml | 2 +- .../templates/certificate-gen/cronjob-certificate-gen.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/imagepullsecret-injector/Chart.yaml b/helm/imagepullsecret-injector/Chart.yaml index 417cc36..06d16b6 100644 --- a/helm/imagepullsecret-injector/Chart.yaml +++ b/helm/imagepullsecret-injector/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.0.14 +version: 0.0.15 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/helm/imagepullsecret-injector/templates/certificate-gen/cronjob-certificate-gen.yaml b/helm/imagepullsecret-injector/templates/certificate-gen/cronjob-certificate-gen.yaml index f44f23e..08d4584 100644 --- a/helm/imagepullsecret-injector/templates/certificate-gen/cronjob-certificate-gen.yaml +++ b/helm/imagepullsecret-injector/templates/certificate-gen/cronjob-certificate-gen.yaml @@ -5,7 +5,7 @@ metadata: labels: {{- include "imagepullsecret-injector.labels" . | nindent 4 }} spec: - schedule: '* * * * *' + schedule: '* * * * 0' jobTemplate: metadata: name: "{{ .Release.Name }}"