mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-07-17 01:39:06 +00:00
Update valueAdd.md
This commit is contained in:
@@ -178,7 +178,8 @@ intended to implement the 'add' operation of
|
|||||||
[IETF RFC 6902 JSON]. The add operation is simple declaration
|
[IETF RFC 6902 JSON]. The add operation is simple declaration
|
||||||
of what value to add, and a powerful syntax for specifying where
|
of what value to add, and a powerful syntax for specifying where
|
||||||
to add the value. The value can, for example, be inserted
|
to add the value. The value can, for example, be inserted
|
||||||
into an existing file path as a prefix, postfix, or some change
|
into an existing field holding a file path as either a prefix,
|
||||||
|
a postfix, or some change
|
||||||
in the middle (e.g. `/volume/data` becomes `/volume/projectId/data`).
|
in the middle (e.g. `/volume/data` becomes `/volume/projectId/data`).
|
||||||
|
|
||||||
[IETF RFC 6902 JSON]: https://tools.ietf.org/html/rfc6902
|
[IETF RFC 6902 JSON]: https://tools.ietf.org/html/rfc6902
|
||||||
@@ -226,7 +227,7 @@ allows any number of transformers to be loaded as a group from a local
|
|||||||
or remote location.
|
or remote location.
|
||||||
|
|
||||||
Here an example of the latter case that uses a kustomization file to
|
Here an example of the latter case that uses a kustomization file to
|
||||||
"hold" pointers to transformer configs, although in this case it
|
list pointers to transformer configs, although in this case it
|
||||||
references only one transformer config.
|
references only one transformer config.
|
||||||
|
|
||||||
<!-- @makeTransformerDir @testAgainstLatestRelease -->
|
<!-- @makeTransformerDir @testAgainstLatestRelease -->
|
||||||
@@ -377,7 +378,9 @@ EOF
|
|||||||
In this output, the namespace of all instances is the
|
In this output, the namespace of all instances is the
|
||||||
project name `dog-222`, and the project name also appears
|
project name `dog-222`, and the project name also appears
|
||||||
in the resourceRef field of the `IAMPolicyMember` instances.
|
in the resourceRef field of the `IAMPolicyMember` instances.
|
||||||
This project name only appears in the project directory name.
|
|
||||||
|
This project name only appears in the project _directory name_,
|
||||||
|
achieving our [DRY] goal.
|
||||||
|
|
||||||
Run the build:
|
Run the build:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user