Skip to content
This repository has been archived by the owner on Jul 16, 2021. It is now read-only.

[Proposal] Increase how often charts are synced by default #648

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion chart/monocular/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: monocular
description: Monocular is a search and discovery front end for Helm Charts Repositories.
version: 1.4.13
version: 1.4.14
appVersion: v1.9.0
home: https://github.com/helm/monocular
sources:
Expand Down
4 changes: 2 additions & 2 deletions chart/monocular/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
```
Expand Down
4 changes: 2 additions & 2 deletions chart/monocular/templates/repo-sync-cronjobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 -}}