| 1 | ## merge |
| 2 | |
| 3 | [Alpha] Merge Resource configuration files |
| 4 | |
| 5 | ### Synopsis |
| 6 | |
| 7 | [Alpha] Merge Resource configuration files |
| 8 | |
| 9 | Merge reads Kubernetes Resource yaml configuration files from stdin or sources packages and write |
| 10 | the result to stdout or a destination package. |
| 11 | |
| 12 | Resources are merged using the Resource [apiVersion, kind, name, namespace] as the key. If any of |
| 13 | these are missing, merge will default the missing values to empty. |
| 14 | |
| 15 | Resources specified later are high-precedence (the source) and Resources specified |
| 16 | earlier are lower-precedence (the destination). |
| 17 | |
| 18 | For information on merge rules, run: |
| 19 | |
| 20 | kustomize cfg docs merge |
| 21 | |
| 22 | ### Examples |
| 23 | |
| 24 | cat resources_and_patches.yaml | kustomize cfg merge > merged_resources.yaml |