helmtrans
helmtrans copied to clipboard
ERROR: assignment to entry in nil map
Hello! Thanks for
Current directory contain templates and emptry templates:
tree
.
├── Chart.yaml
├── README.md
├── output
├── templates
│ ├── api-gateway-deployment.yaml
│ ├── api-gateway-service.yaml
│ ├── config-server-deployment.yaml
│ ├── config-server-service.yaml
│ ├── customers-service-deployment.yaml
│ ├── customers-service-service.yaml
│ ├── discovery-server-deployment.yaml
│ ├── discovery-server-service.yaml
│ ├── distr-persistentvolumeclaim.yaml
│ ├── tracing-server-deployment.yaml
│ ├── tracing-server-service.yaml
│ ├── vets-service-deployment.yaml
│ ├── vets-service-service.yaml
│ ├── visits-service-deployment.yaml
│ └── visits-service-service.yaml
└── templates1
3 directories, 17 files
Run helmtrans
helmtrans yamltohelm -p templates -o templates1
ERROR: assignment to entry in nil map
Same problem when I try to read a group of yamls into a folder (darwin/mac release)
ERROR: assignment to entry in nil map
Could it be this fucntion where print that ERROR message?
https://github.com/codeandcode0x/helmtrans/blob/0e874e633e69a9687f6485cadca7375ac24f0f8f/src/util.go#L429
Here reference to "ERROR:" message... it shoud build the "ERROR: assignment to entry in nil map" , right?


The commad seems call to this concatenate functions but I don't find the final functions to do the yaml conversion from helm :

Because ScanRestFile (latest func to call in Yamltohelm) is not referenced any more to continue conversion:
