Git Repo Access issue with application set created through an application which has repo access #18644
rmehta2974
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: certmanager-deploy-application
namespace: argocd
spec:
project: default
source:
repoURL: [email protected]/xxx/xxx-xxxx-v2.git
targetRevision: az-528-1
path: cluster/deployment/non-prod/apps/
directory:
recurse: true
destination:
server: https://kubernetes.default.svc/
namespace: argocd
syncPolicy: {}
which reads the repo and configuration correctly
but I have application set in the search path cluster/deployment/non-prod/apps/cert-manager/cert-manager.yaml
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: cert-manager-multicluster-list2
namespace: argocd
spec:
generators:
matrix:
generators:
template:
metadata:
name: cert-manager-{{cluster}}
spec:
project: default
source:
repoURL: https://charts.jetstack.io/
chart: cert-manager
targetRevision: "{{targetRevision}}"
helm:
valueFiles:
destination:
namespace: "{{namespace}}"
server: "{{server}}"
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
Now above code gives following error
error failed to get params for first generator in matrix generator: child generator returned an error on parameter generation: error generating params from git: error getting directories from repo: error retrieving Git Directories: rpc error: code = Internal desc = unable to resolve git revision : repository not found
Here is output of argocd repo list
Beta Was this translation helpful? Give feedback.
All reactions