Compare commits

...

2 Commits

Author SHA1 Message Date
Martin Šalata
d15416a914 Fix cronjob schedule to once a week at Sunday 2021-08-03 10:03:21 +02:00
salatamartin
e0fe690e4e Merge pull request #3 from ysoftdevs/feature/cleanup
Feature/cleanup
2021-07-27 14:20:37 +02:00
3 changed files with 5 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # 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. # to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/) # Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.0.23 version: 0.0.24
# This is the version number of the application being deployed. This version number should be # 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 # incremented each time you make changes to the application. Versions are not expected to

View File

@@ -5,7 +5,7 @@ metadata:
labels: labels:
{{- include "imagepullsecret-injector.labels" . | nindent 4 }} {{- include "imagepullsecret-injector.labels" . | nindent 4 }}
spec: spec:
schedule: '* * * * 0' schedule: {{ .Values.certificateGenerator.cronJobSchedule }}
jobTemplate: jobTemplate:
metadata: metadata:
name: "{{ .Release.Name }}" name: "{{ .Release.Name }}"

View File

@@ -24,3 +24,6 @@ imagepullsecretInjector:
- kube-system - kube-system
- traefik - traefik
- datadog - datadog
certificateGenerator:
cronJobSchedule: '0 0 * * 0' # At 00:00 on Sunday