File tree 2 files changed +13
-0
lines changed
2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -487,6 +487,9 @@ repository. The `.sourceignore` file follows [the `.gitignore` pattern
487
487
format](https://git-scm.com/docs/gitignore#_pattern_format), and
488
488
pattern entries may overrule [default exclusions](#default-exclusions).
489
489
490
+ The controller recursively loads ignore files so a `.sourceignore` can be
491
+ placed in the repository root or in subdirectories.
492
+
490
493
# ### Ignore spec
491
494
492
495
Another option is to define the exclusions within the GitRepository spec, using
Original file line number Diff line number Diff line change @@ -526,6 +526,16 @@ spec:
526
526
/deploy/**/*.txt
527
527
` ` `
528
528
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
+
529
539
# ## Triggering a reconcile
530
540
531
541
To manually tell the source-controller to reconcile a OCIRepository outside the
You can’t perform that action at this time.
0 commit comments