Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with Kubernetes resource name generation #15

Open
amarchese96 opened this issue Nov 5, 2021 · 1 comment
Open

Problem with Kubernetes resource name generation #15

amarchese96 opened this issue Nov 5, 2021 · 1 comment

Comments

@amarchese96
Copy link

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.

@tliron
Copy link
Owner

tliron commented Nov 5, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants