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

mergePatchUpdater is not a thing #2469

Merged
merged 1 commit into from
Sep 24, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 be 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`, in order to obtain the final manifests.

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

Expand Down