-
Notifications
You must be signed in to change notification settings - Fork 318
Description
Is your feature request related to a problem? Please describe.
I am using helm with git write-back method, and to avoid the conflicts I am creating an additional values-image.yaml values file in a directory that I need for image-updater to write into. Default values.yaml file that is automatically created in the root of the repository when write-back tagret is not specified beyond "helmvalues" doesn't suit me because I have multiple helm releases utilising argocd image updater in the same repository.
I would like to have a possibility to automate this process and add autocreation of the file in a custom directory with a custom filename. Now if I specify a non-existent file in the config, the application is skipped with a following log:
level=warning msg="skipping app 'argocd/app-name' of type 'Directory' because it's not of supported source type" application=app-name namespace=argocd
Describe the solution you'd like
Probably some additional setting like this would help:
spec:
writeBackConfig:
method: "git"
gitConfig:
writeBackTarget: "helmvalues:/path/to/custom-values.yaml"
-> createValuesFileIfNotExists: true