Skip to content

Commit

Permalink
Harbor requires 6 cron values (#480)
Browse files Browse the repository at this point in the history
Harbor requires the custom time to be in a 6 field cron format.

---------

Signed-off-by: 7oku <8048380+7oku@users.noreply.github.com>
Signed-off-by: Florian Blampey <flbla@users.noreply.github.com>
Co-authored-by: Florian Blampey <flbla@users.noreply.github.com>
  • Loading branch information
7oku and flbla authored Nov 26, 2024
1 parent 57427d2 commit 042512c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/resources/garbage_collection.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ resource "harbor_garbage_collection" "main" {

### Required

- `schedule` (String) Sets the schedule how often the Garbage Collection will run. Can be to `"hourly"`, `"daily"`, `"weekly"` or can be a custom cron string ie, `"5 4 * * *"`
- `schedule` (String) Sets the schedule how often the Garbage Collection will run. Can be to `"hourly"`, `"daily"`, `"weekly"` or can be a custom cron string ie, `"0 5 4 * * *"`

### Optional

Expand Down
2 changes: 1 addition & 1 deletion templates/resources/garbage_collection.md.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ For example, the {{ .SchemaMarkdown }} template can be used to replace manual sc

### Required

- `schedule` (String) Sets the schedule how often the Garbage Collection will run. Can be to `"hourly"`, `"daily"`, `"weekly"` or can be a custom cron string ie, `"5 4 * * *"`
- `schedule` (String) Sets the schedule how often the Garbage Collection will run. Can be to `"hourly"`, `"daily"`, `"weekly"` or can be a custom cron string ie, `"0 5 4 * * *"`

### Optional

Expand Down

0 comments on commit 042512c

Please sign in to comment.