📝 Description
The built-in template renderer cannot load Helm or Terraform catalog templates on Windows.
The template roots are constructed with filepath.Join, which produces backslash-separated paths (\) on Windows. These paths are then passed to embed.FS, but Go's io/fs APIs always expect forward-slash (/) separated paths. As a result, the embedded template directories cannot be found.
🧪 Steps to Reproduce
-
Clone the repository on Windows.
-
Change to the src directory.
-
Run:
go test ./internal/render
💻 Environment
Kubara branch: main
Go version: go1.26.4 windows/amd64
OS: Windows
📎 Additional Context / Logs
✅ Checklist
📝 Description
The built-in template renderer cannot load Helm or Terraform catalog templates on Windows.
The template roots are constructed with
filepath.Join, which produces backslash-separated paths (\) on Windows. These paths are then passed toembed.FS, but Go'sio/fsAPIs always expect forward-slash (/) separated paths. As a result, the embedded template directories cannot be found.🧪 Steps to Reproduce
Clone the repository on Windows.
Change to the
srcdirectory.Run:
go test ./internal/render💻 Environment
Kubara branch: main
Go version: go1.26.4 windows/amd64
OS: Windows
📎 Additional Context / Logs
✅ Checklist