argo-cd: rpc error: code = Unknown desc - when trying to create new application in ArgoCD.
Describe the bug There is a real chance this isn’t a bug, and something I just need help with. I am new to argo! When trying to create a new application (in the UI - I haven’t tried the CLI yet) - I get this error when attempting to submit the creation :
Unable to create application: application spec is invalid: InvalidSpecError: Unable to generate manifests in https://kubernetes.default.svc: rpc error: code = Unknown desc = lstat /tmp/https:__github.com<Omitted company and project for security>/https:/kubernetes.default.svc: no such file or directory
To Reproduce If we cannot reproduce, we cannot fix! Steps to reproduce the behavior:
- Go to Create new project
- Fill in the create new project form
- Click create.
- See error
Expected behavior I expected the application to be created.
Version
argocd: v1.0.1+5fe1447.dirty
BuildDate: 2019-05-28T17:28:05Z
GitCommit: 5fe1447b722716649143c63f9fc054886d5b111c
GitTreeState: dirty
GoVersion: go1.11.4
Compiler: gc
Platform: darwin/amd64
argocd-server: v1.0.1+5fe1447.dirty
BuildDate: 2019-05-28T17:27:38Z
GitCommit: 5fe1447b722716649143c63f9fc054886d5b111c
GitTreeState: dirty
GoVersion: go1.11.4
Compiler: gc
Platform: linux/amd64
Ksonnet Version: 0.13.1
Logs
Unable to create application: application spec is invalid: InvalidSpecError: Unable to generate manifests in https://kubernetes.default.svc: rpc error: code = Unknown desc = lstat /tmp/https:__github.com<Omitted company and project for security>/https:/kubernetes.default.svc: no such file or directory
Have you thought about contributing a fix yourself?
I’d love to, but I am new to argo, i’m missing the knowledge I might need.
If you want to get involved, check out the contributing guide, then reach out to us on Slack so we can see how to get you started.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 29 (3 by maintainers)
I am closing this issue. Turns out the path needs to be “./” if you aren’t running a repo with multiple projects.
Those findings should be put into the docs.
One more thing… I realized that the CLI wasn’t logged in… my bad - this is the error I get now :