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

Cannot use different templates on the same project #28

Open
fbricon opened this issue Jul 30, 2015 · 1 comment
Open

Cannot use different templates on the same project #28

fbricon opened this issue Jul 30, 2015 · 1 comment

Comments

@fbricon
Copy link

fbricon commented Jul 30, 2015

So trying the vagrant image Jeff Cantrill gave me(https://github.com/jcantrill/jctoolbox/blob/jimmi_based_box/openshift/Vagrantfile), using the eap6-mongodb-sti template to create a new app, this is what a user would get:
http://screencast.com/t/68aVpGK6bv0 in Eclipse. That is just by using the default values. Jeff told me all images are picked up from upstream master, so should be current.

Worse, after failing to create my eap6-mongodb-sti app, I tried eap6-simple-sti, then all services failed to create as they already exist.
So it seems most/all templates use the same names, but resources need to be unique for any given Openshift project.

Is it possible to automatically generate these resource names so as to avoid duplicates?

@bparees
Copy link
Contributor

bparees commented Jul 30, 2015

it's possible to generate values for any parameter, so this could be done.

trying to think if there's any reason we would not want semi-random postfixes on the names we create. nothing immediately comes to mind but i have a nagging feeling it would be a problem somewhere.

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