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

Windows support is broken #11

Open
stevefan1999-personal opened this issue Jun 20, 2024 · 6 comments
Open

Windows support is broken #11

stevefan1999-personal opened this issue Jun 20, 2024 · 6 comments

Comments

@stevefan1999-personal
Copy link

Same issue with #10, but it is more of a general issue with Windows

@kvaps
Copy link
Member

kvaps commented Jun 20, 2024

Interesting, what if you'll specify -t option with backward slash?

@stevefan1999-personal
Copy link
Author

Member

Same

 steve   vpslab2  master ≢  ?6    talm -n 206.237.7.179 --talosconfig .\talosconfig template -t templates\worker.yaml                                                                                                       in pwsh at 18:41:59
failed to render templates: template templates\worker.yaml not found

@kvaps
Copy link
Member

kvaps commented Jun 21, 2024

Sorry, currenly I have no windows machine to test, but we're using the same library as helm to render manifests.
Could you provide me output of helm template output for any helm chart? It should include all the paths for templates in it's output

@stevefan1999-personal
Copy link
Author

Sorry, currenly I have no windows machine to test, but we're using the same library as helm to render manifests. Could you provide me output of helm template output for any helm chart? It should include all the paths for templates in it's output

 steve   vpslab2  master ≢  ?6    helm template test . -f .\values.yaml --debug                                                                                                                                             in pwsh at 19:11:33
install.go:193: [debug] Original chart version: ""
install.go:210: [debug] CHART PATH: F:\talm\vpslab2


Error: template: vpslab2/templates/worker.yaml:2:4: executing "vpslab2/templates/worker.yaml" at <include "talos.config" .>: error calling include: template: vpslab2/templates/_helpers.tpl:12:17: executing "talos.config" at <include "talm.discovered.hostname" .>: error calling include: template: vpslab2/charts/talm/templates/_helpers.tpl:19:10: executing "talm.discovered.hostname" at <lookup>: wrong number of args for lookup: want 4 got 3
helm.go:84: [debug] template: vpslab2/templates/worker.yaml:2:4: executing "vpslab2/templates/worker.yaml" at <include "talos.config" .>: error calling include: template: vpslab2/templates/_helpers.tpl:12:17: executing "talos.config" at <include "talm.discovered.hostname" .>: error calling include: template: vpslab2/charts/talm/templates/_helpers.tpl:19:10: executing "talm.discovered.hostname" at <lookup>: wrong number of args for lookup: want 4 got 3

not sure how to do it

@kvaps
Copy link
Member

kvaps commented Jul 8, 2024

@stevefan1999-personal try this:

helm template asd oci://ghcr.io/stefanprodan/charts/podinfo | grep Source

@stevefan1999-personal
Copy link
Author

 steve   vpslab3  master ≢  ?6    helm template asd oci://ghcr.io/stefanprodan/charts/podinfo | grep Source                                                                                                                   in pwsh at 19:33:40
Pulled: ghcr.io/stefanprodan/charts/podinfo:6.7.0
Digest: sha256:104d101017e501c63b3aa71b20d5edd2ca6d5d58cbc57ff8163770110f92b9db
# Source: podinfo/templates/service.yaml
# Source: podinfo/templates/deployment.yaml
# Source: podinfo/templates/tests/grpc.yaml
# Source: podinfo/templates/tests/jwt.yaml
# Source: podinfo/templates/tests/service.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants