Skip to content

Commit ebf0374

Browse files
committed
Clarify localized target inside scope
1 parent 4548f2b commit ebf0374

File tree

1 file changed

+5
-2
lines changed
  • site/content/en/references/kustomize/cmd/localize

1 file changed

+5
-2
lines changed

site/content/en/references/kustomize/cmd/localize/_index.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,12 @@ the repo containing `target`.
5151

5252
### Structure
5353

54-
The localized destination directory is a copy<sup>[[absolute]](#notes), [[symlink]](#notes)</sup>
54+
The localized destination directory at `newDir` is a copy<sup>[[absolute]](#notes), [[symlink]](#notes)</sup>
5555
of `scope`, excluding files that `target` does not reference and
56-
with the addition of downloaded remote content.
56+
with the addition of downloaded remote content.
57+
Note that if `scope` is not equal to `target`, the localized root
58+
that produces the same `kustomize build` output as `target`
59+
is at the same relative path inside `newDir` as `target` inside `scope`.
5760

5861
Downloaded files are copied to a directory named `localized-files` located in
5962
the same directory as the referencing kustomization file.

0 commit comments

Comments
 (0)