From c6fe4fe5c71ab7075dc92848a689983b2d7d8ded Mon Sep 17 00:00:00 2001 From: Dean Coakley Date: Fri, 4 Oct 2019 11:33:57 +0100 Subject: [PATCH 1/2] Increase how often charts are synced by default Signed-off-by: Dean Coakley --- chart/monocular/README.md | 4 ++-- chart/monocular/templates/repo-sync-cronjobs.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/chart/monocular/README.md b/chart/monocular/README.md index 92d9bd087..a14320b88 100644 --- a/chart/monocular/README.md +++ b/chart/monocular/README.md @@ -64,7 +64,7 @@ sync: repos: - name: stable url: https://kubernetes-charts.storage.googleapis.com - schedule: "0 * * * *" + schedule: "*/10 * * * *" successfulJobsHistoryLimit: 1 - name: incubator url: https://kubernetes-charts-incubator.storage.googleapis.com @@ -73,7 +73,7 @@ sync: url: https://helm.github.io/monocular EOF -`schedule` and `successfulJobsHistoryLimit` are optional parameters. They default to `"0 * * * *"` and `3` respectively +`schedule` and `successfulJobsHistoryLimit` are optional parameters. They default to `"*/10 * * * *"` and `3` respectively $ helm install monocular/monocular -f custom-repos.yaml ``` diff --git a/chart/monocular/templates/repo-sync-cronjobs.yaml b/chart/monocular/templates/repo-sync-cronjobs.yaml index 4fc65a546..602200bb8 100644 --- a/chart/monocular/templates/repo-sync-cronjobs.yaml +++ b/chart/monocular/templates/repo-sync-cronjobs.yaml @@ -19,8 +19,8 @@ spec: spec: template: {{ include "monocular.sync.podTemplate" (list . $) | indent 8 }} - schedule: {{ default "0 * * * *" .schedule | quote }} + schedule: {{ default "*/10 * * * *" .schedule | quote }} successfulJobsHistoryLimit: {{ default 3 .successfulJobsHistoryLimit }} - + --- {{- end -}} From 79e88e4e7c84acbc56a215ab7f24b5d4f062018b Mon Sep 17 00:00:00 2001 From: Dean Coakley Date: Mon, 7 Oct 2019 15:38:24 +0100 Subject: [PATCH 2/2] Bump chart patch version Signed-off-by: Dean Coakley --- chart/monocular/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chart/monocular/Chart.yaml b/chart/monocular/Chart.yaml index 28862ae24..026685eb5 100644 --- a/chart/monocular/Chart.yaml +++ b/chart/monocular/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: monocular description: Monocular is a search and discovery front end for Helm Charts Repositories. -version: 1.4.10 +version: 1.4.13 appVersion: v1.8.3 home: https://github.com/helm/monocular sources: