* feat: add first class support to access repositories using proxy
Currently, users need to set the proxy URLs as env variables in the repo server. This is not user-friendly and also error-prone. This PR adds support to maintain proxy URLs along with repository configs in the argocd-cm. Argo CD uses this proxy to access your repository. In case the custom proxy is absent, it defaults to reading the proxy from the env variables.
Signed-off-by: Chetan Banavikalmutt <chetanrns1997@gmail.com>
* set both http & https proxy variables
Signed-off-by: Chetan Banavikalmutt <chetanrns1997@gmail.com>
* feat: made Helm v3 the default and removed version auto-detection
Signed-off-by: ishitasequeira <isequeir@redhat.com>
* feat: made Helm v3 the default and removed version auto-detection
Signed-off-by: ishitasequeira <isequeir@redhat.com>
This commit adds support for configurable Helm version either via
declarative syntax or via argocd cli.
New helm option 'Version' added to the ApplicationSourceHelm
struct which can be either 'v2' or 'v3'.
Argocd app create accepts '--helm-version' that also looks for the
same Helm versions as above.
* Make directory enforcer more lenient and add flag
* Fixes
* Lint fixes
* Lint fixes
* Fixed test
* Minor
* Removed enforcer option
* Move directory traversal check higher up
* Go fmt
* Allow URLs
* Added test