Skip to content

Commit cd11ebd

Browse files
author
Kingdon Barrett
committed
fixup
Signed-off-by: Kingdon Barrett <kingdon@weave.works>
1 parent 9956e94 commit cd11ebd

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

docs/spec/v1beta2/buckets.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -726,8 +726,8 @@ Excluding files is possible by adding a `.sourceignore` file in the root of the
726726
object storage bucket. The `.sourceignore` file follows [the `.gitignore`
727727
pattern format](https://git-scm.com/docs/gitignore#_pattern_format), and
728728
pattern entries may overrule [default exclusions](#default-exclusions).
729-
The source controller recursively loads ignore files so a `.sourceignore` can
730-
be placed in the root directory or in subdirectories.
729+
730+
The `.sourceignore` must be in the root directory for `Bucket` sources.
731731

732732
#### Ignore spec
733733

docs/spec/v1beta2/gitrepositories.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -486,8 +486,9 @@ Excluding files is possible by adding a `.sourceignore` file in the Git
486486
repository. The `.sourceignore` file follows [the `.gitignore` pattern
487487
format](https://git-scm.com/docs/gitignore#_pattern_format), and
488488
pattern entries may overrule [default exclusions](#default-exclusions).
489-
The source controller recursively loads ignore files so a `.sourceignore` can
490-
be placed in the root directory or in subdirectories.
489+
490+
The controller recursively loads ignore files so a `.sourceignore` can be
491+
placed in the repository root or in subdirectories.
491492

492493
#### Ignore spec
493494

docs/spec/v1beta2/ocirepositories.md

+10
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,16 @@ spec:
526526
/deploy/**/*.txt
527527
```
528528

529+
#### `.sourceignore` file
530+
531+
Excluding files is possible by adding a `.sourceignore` file in the artifact.
532+
The `.sourceignore` file follows [the `.gitignore` pattern
533+
format](https://git-scm.com/docs/gitignore#_pattern_format), and pattern
534+
entries may overrule [default exclusions](#default-exclusions).
535+
536+
The controller recursively loads ignore files so a `.sourceignore` can be
537+
placed in the artifact root or in subdirectories.
538+
529539
### Triggering a reconcile
530540

531541
To manually tell the source-controller to reconcile a OCIRepository outside the

0 commit comments

Comments
 (0)