mirror of
https://github.com/ysoftdevs/imagepullsecret-injector.git
synced 2026-01-11 14:30:42 +01:00
Fix cronjob schedule to once a week at Sunday
This commit is contained in:
@@ -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.23
|
||||
version: 0.0.24
|
||||
|
||||
# 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
|
||||
|
||||
@@ -5,7 +5,7 @@ metadata:
|
||||
labels:
|
||||
{{- include "imagepullsecret-injector.labels" . | nindent 4 }}
|
||||
spec:
|
||||
schedule: '* * * * 0'
|
||||
schedule: {{ .Values.certificateGenerator.cronJobSchedule }}
|
||||
jobTemplate:
|
||||
metadata:
|
||||
name: "{{ .Release.Name }}"
|
||||
|
||||
@@ -24,3 +24,6 @@ imagepullsecretInjector:
|
||||
- kube-system
|
||||
- traefik
|
||||
- datadog
|
||||
|
||||
certificateGenerator:
|
||||
cronJobSchedule: '0 0 * * 0' # At 00:00 on Sunday
|
||||
Reference in New Issue
Block a user