diff options
| author | David Vidal Villamide <david@askharilabs.com> | 2023-12-04 19:30:49 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-04 13:30:49 -0500 |
| commit | 3a2a6c6e18984fec763d9b1309ca7a86b35998e7 (patch) | |
| tree | 823177461289907551dca32644269ba2e6b8c7f1 /docs/basics | |
| parent | 82d59ef10067da9dae994366cb2b48ce0a9b346c (diff) | |
feat: multisource support (#636)
* change: update argocd library from 2.7.9 to 2.8.4 for future multisource
support
Signed-off-by: David Vidal Villamide <david@askharilabs.com>
* feat: added support for multisource applications.
Signed-off-by: David Vidal Villamide <david@askharilabs.com>
* feat: added multisource support to Git WriteBack method
Signed-off-by: David Vidal Villamide <david@askharilabs.com>
* changed: all Spec.Source references to enable multisource support
Signed-off-by: David Vidal Villamide <david@askharilabs.com>
* feat: added multisource support for write back method
fix: pointer management at getApplicationSource function
Signed-off-by: David Vidal Villamide <david@askharilabs.com>
* feat: added write-back-target prefix to allow the use of values.yaml files
These changes intend to add support for write-back-method git on multisource
applications based on Helm sources and value files as Helm does.
Also we tried to keep the same coding patterns and the previous features
and flows untouched.
Signed-off-by: David Vidal Villamide <david@askharilabs.com>
* add: helmvalues word to expected dictionaries for check spelling tests
Signed-off-by: David Vidal Villamide <david@askharilabs.com>
* fix: readthedocs build.os parameter added and set to ubuntu-22.04
Signed-off-by: David Vidal Villamide <david@askharilabs.com>
* fix: build.tools.python set to version 3.12 to create documentation
Signed-off-by: David Vidal Villamide <david@askharilabs.com>
* test: dded coverage for all the new code
Signed-off-by: David Vidal Villamide <david@askharilabs.com>
* fix: get image and tag parameter from getHelmParameterNamesFromAnnotation
fix: set default values for image and tag parameters
change: get application source type from Spec intead of Status values
Signed-off-by: David Vidal Villamide <david@askharilabs.com>
---------
Signed-off-by: David Vidal Villamide <david@askharilabs.com>
Diffstat (limited to 'docs/basics')
| -rw-r--r-- | docs/basics/update-methods.md | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/docs/basics/update-methods.md b/docs/basics/update-methods.md index 6a2c6df..e64947a 100644 --- a/docs/basics/update-methods.md +++ b/docs/basics/update-methods.md @@ -296,3 +296,29 @@ argocd-image-updater.argoproj.io/write-back-target: "kustomization:/config/overl ``` Note that the Kustomization directory needs to be specified, not a file, like when using Kustomize. + +If you are using Helm and want the image updates parameters available in your values files, +you may set the `write-back-target` to `helmvalues:<full path to your values file>`. This method commits changes to the values +file back that is used to render the Helm template. + +```yaml +argocd-image-updater.argoproj.io/write-back-method: git # all git options are supported +argocd-image-updater.argoproj.io/write-back-target: helmvalues +``` + +You may also specify which helmvalues to update with either a path relative to the project source path... + +```yaml +argocd-image-updater.argoproj.io/write-back-target: "helmvalues:../../values.yaml" +# if the Application spec.source.path = config/overlays/foo, this would update the helmvalues in config/base +``` + +...or absolute with respect to the repository: + +```yaml +# absolute paths start with / +argocd-image-updater.argoproj.io/write-back-target: "helmvalues:/helm/config/test-values.yaml" +``` + +Note that using the helmvalues option needs the Helm values filename to be specified in the +write-back-target annotation. |
