Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helm value files outside of chart path #2715

Closed
wecger opened this issue Nov 13, 2019 · 3 comments · Fixed by #2716
Closed

Helm value files outside of chart path #2715

wecger opened this issue Nov 13, 2019 · 3 comments · Fixed by #2716
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@wecger
Copy link
Contributor

wecger commented Nov 13, 2019

Summary

Till now ArgoCD was able to access Helm value files outside of the chart folder itself (by relatively addressing the path with ../). Starting with version v1.3.0 (after #2452) this is not possible anymore. Therefore version 1.3.0 is not backwards compatible when you use this feature. You have to modify your config or repo ordering.

Motivation

Being able to address files outside of the chart folder, but inside the repository would be helpful.

Proposal

Right now the value file is always addressed relatively to the chart folder (path option of the application). Maybe its possible to introduce an option to work relatively to the repository (instead of path) for the value files. This might satisfy security concerns and allow current repo structures.

@wecger wecger added the enhancement New feature or request label Nov 13, 2019
@simster7 simster7 self-assigned this Nov 13, 2019
@simster7
Copy link
Member

Currently working on a flag to allow for more lenient path traversal enforcement as described in #2452 (comment) and subsequent comments

@Va1
Copy link

Va1 commented Aug 26, 2020

so, eventually, was the flag added and is it possible to specify value files from outside of the chart dir now?

docs still say that it is impossible and it does not seem to work for me

@Va1
Copy link

Va1 commented Aug 26, 2020

sorted it out, nevermind.

paths to the values files should be relative not to the repo root, but to the specified chart root. i believe, this should be indicated in documentation (right now it says that the subject feature doesn't exist – https://argoproj.github.io/argo-cd/user-guide/helm/).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants