turandot icon indicating copy to clipboard operation
turandot copied to clipboard

Problem with Kubernetes resource name generation

Open amarchese96 opened this issue 3 years ago • 1 comments

I tried to compile the bookinfo example and generate the Kubernetes YAML configuration files using the scriptlet at https://raw.githubusercontent.com/tliron/turandot/main/assets/tosca/profiles/kubernetes/1.0/js/resources/get.js. The generated resources names are postfixed with the corresponding capability names (for example in the case of a deployment, the generated name is ${nodeTemplateName}-deployment). I noticed that the postfix can be overidden by setting the capability property "metadataNamePostfix", but it seems that this property is not defined in the Kubernetes profile.

amarchese96 avatar Nov 05 '21 09:11 amarchese96

You are correct! I've recently switched to a system in which the Kubernetes profile is generated automatically, and I think I forgot about this property. Expect a fix soon.

tliron avatar Nov 05 '21 16:11 tliron