Replies: 1 comment 2 replies
-
@jithin-ch can you show the (redacted) cluster secret with which you're trying to use with the applicationset? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
level=error msg="error generating params" error="error generating params from git: error retrieving Git files: rpc error: code = Internal desc = unable to resolve git revision : authentication required" generator="&{0xc000a1aec0 argocd}
I'm getting this after applying applicationset yaml.
root@job-DevOps-CH:~/# cat application-set.yaml
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: demo-app
namespace: argocd
spec:
goTemplate: true
goTemplateOptions: ["missingkey=error"]
ignoreApplicationDifferences:
jsonPointers:
#syncPolicy:
#applicationsSync: create-delete
generators:
repoURL: https://github.com/bg-projects/ch-state-repo.git
revision: main
files:
template:
metadata:
name: '{{.helm.deploymentName}}'
spec:
project: default
sources:
path: .
targetRevision: main
helm:
valueFiles:
targetRevision: main
ref: values
destination:
server: https://kubernetes.default.svc
#name: staging-shop-eks
namespace: demo-app
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
I'm able to add repos with https on argocd gui. it is succesful. but when i apply conf file. then logs says this. How to fix it? Argocd version 7.4
Beta Was this translation helpful? Give feedback.
All reactions