Open stevefan1999-personal opened 2 months ago
Interesting, what if you'll specify -t
option with backward slash?
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
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
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
@stevefan1999-personal try this:
helm template asd oci://ghcr.io/stefanprodan/charts/podinfo | grep Source
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
Same issue with #10, but it is more of a general issue with Windows