Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
mergePatchUpdater is not a thing
Browse files Browse the repository at this point in the history
I think it's a leftover from old documentation

Also, clarify and rephrase how `patchUpdater` works
  • Loading branch information
2opremio authored and Alfonso Acosta committed Sep 24, 2019
1 parent fac59ef commit abb405c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/references/fluxyaml-config-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,9 @@ patchUpdated:
patchFile: flux-patch.yaml
```

The `mergePatchUpdater` will store the modifications made by Flux in file `flux-patch.yaml` and will apply the patch to
the output of `helm template ../charts/mychart -f overrides.yaml`.
This configuration will cause:
1. modifications made by Flux (e.g. due to annotation or image updates) to the resources generated by `helm template ../charts/mychart -f overrides.yaml` to be stored into patch file `flux-patch.yaml`. `flux-patch.yaml` will managed automatically by Flux (it will be added and updated on demand).
2. the patch file `flux-patch.yaml` to be always applied to the output of `helm template ../charts/mychart -f overrides.yaml`, to obtain the final manifests.

The patch file path should be relative to Flux target which matched the configuration file.

Expand Down

0 comments on commit abb405c

Please sign in to comment.