crossplane-contrib / crossplane-contrib/function-go-templating
Render function error lacks filename
- Dominant language
- Go
- Stars
- 100
- Forks
- 65
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 9
Description
Replacing https://github.com/crossplane/crossplane/issues/5250.
### What happened?
```
crossplane-cli-v1.14.5 beta render cluster/local/composition-render/mxp-control-plane/kube-control-plane/vcluster/xr.yaml cluster/xpkgs/mxp-control-plane/kube-control-plane/vcluster/composition.yaml cluster/local/composition-render/functions.yaml -o cluster/local/composition-render/mxp-control-plane/kube-control-plane/vcluster/observed.yaml
```
gives this output:
```
crossplane: error: cannot render composite resource: pipeline step "render-composed-resources" returned a fatal result: invalid function input: cannot parse the provided templates: template: manifests:606: bad character U+005B '['
```
The output does not say which manifest.
### How can we reproduce it?
With the commands above and some template with a go-template error.
### What environment did it happen in?
Crossplane version: 1.14.5
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.