Authentication error while adding an application which specifies the git repository in ArgoCD
Issue
While adding an application that specifies the git repository in ArgoCD, an authentication error mentioned below is reported:
Unable to create application: application spec for hhh is invalid: InvalidSpecError: Unable to generate manifests in argocd: rpc error: code = Internal desc = Failed to fetch default: `git --config-env http.extraHeader=ARGOCD_GIT_AUTH_HEADER fetch origin --tags --force --prune` failed exit status 129: unknown option: --config-env usage: git [--version] [--help] [-C <path>] [-c <name>=<value>] [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path] [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--bare] [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>] [--super-prefix=<path>] [--config-env=<name>=<envvar>] <command> [<args>]
Environment
- gitops-operator
- 1.8.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.