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

Failed to create application due to error "x509: certificate signed by unknown authority" #6376

Closed
vuxuanlai opened this issue Jun 2, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@vuxuanlai
Copy link

Describe the bug

I completed add helm repo with cmd
argocd repo add https://<gitlab-enterprise>/charts/-/raw/master --type helm --name devops --username <username>--password <password> --insecure-skip-server-verification
But when I create application from these repo, I got the error that relating to authentication as title

To Reproduce
I failed to run command:
argocd app create alpha --insecure --repo https://<gitlab-enterprise>/charts/-/raw/master --helm-chart chart-backend --revision 1.1.1 --dest-namespace default --dest-server https://<k8s-controlplane-ip>:6443

and the error:

time="2021-06-02T14:55:34+07:00" level=fatal msg="rpc error: code = InvalidArgument desc = application spec is invalid: InvalidSpecError: Unable to get app details: rpc error: code = Unknown desc = `helm pull --destination /tmp/helm691938973 --version 1.1.1 --username ****** --password ****** --repo https://<gitlab-enterprise>/charts/-/raw/master chart-backend` failed exit status 1: Error: looks like \"https://<gitlab-enterprise>/charts/-/raw/master\" is not a valid chart repository or cannot be reached: Get \"https://<gitlab-enterprise>charts/-/raw/master/index.yaml\": x509: certificate signed by unknown authority"

Expected behavior

I want to create successfully application from helm repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants