Skip to content

Commit

Permalink
fix: readd crucial documentation about curly brackets for tags or rep…
Browse files Browse the repository at this point in the history
…ositories (#481)

The behaviour was initially documented with
#324 but seems
to have been lost with
#412.

---------

Signed-off-by: Florian Blampey <[email protected]>
Co-authored-by: Christof Huber <[email protected]>
Co-authored-by: Florian Blampey <[email protected]>
  • Loading branch information
3 people authored Nov 26, 2024
1 parent 4fa1b7a commit 57427d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/resources/retention_policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ resource "harbor_retention_policy" "main" {

### Nested Schema for `rule`

~> Multiple tags or repositories must be provided as a comma-separated list wrapped into curly brackets `{ }`. Otherwise, the value is interpreted as a single value.

Optional:

- `always_retain` (Boolean) retain always.
Expand Down
2 changes: 2 additions & 0 deletions templates/resources/retention_policy.md.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ For example, the {{ .SchemaMarkdown }} template can be used to replace manual sc

### Nested Schema for `rule`

~> Multiple tags or repositories must be provided as a comma-separated list wrapped into curly brackets `{ }`. Otherwise, the value is interpreted as a single value.

Optional:

- `always_retain` (Boolean) retain always.
Expand Down

0 comments on commit 57427d2

Please sign in to comment.