Skip to content

Commit

Permalink
Merge pull request #108 from rhysjtevans/patch-1
Browse files Browse the repository at this point in the history
filters clarity
  • Loading branch information
wrighbr authored Mar 30, 2021
2 parents b63e722 + cc42412 commit 7679839
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion docs/resources/replication.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,22 @@ resource "harbor_replication" "push" {
action = "push"
registry_id = harbor_registry.main.registry_id
}
resource "harbor_replication" "alpine" {
name = "alpine"
action = "pull"
registry_id = harbor_registry.main.registry_id
schedule = "* 0/15 * * * *"
filters {
name = "library/alpine"
}
filters {
tag = "3.*.*"
}
filters {
resource = "image"
}
}
```

Expand Down Expand Up @@ -56,4 +72,4 @@ Harbor project can be imported using the `replication id` eg,

`
terraform import harbor_project.main /registries/7
`
`

0 comments on commit 7679839

Please sign in to comment.