-
Notifications
You must be signed in to change notification settings - Fork 202
Allow for external resources reference; e.g. app tempplates #804
Comments
Yes, I think it makes sense to allow a list of URL in the plugin's configuration so that object definitions can be downloaded on the fly and added to the list of objects to process. Maybe we should allow also a profile to be used so that these resource could be also enriched. A suggestion could be: <configuration>
<extra>
<remote>
<url>https://github.com/jboss-openshift/application-templates/blob/master/sso/sso70-https.json</url>
<!-- No enrichment -->
<profile>raw</profile>
</remote>
</extra>
</configuration> or mabe embedded in the If this is given, then the An alternative approach (or maybe even in addition) to use fragment files which are named like and has a content like: url: https://github.com/jboss-openshift/application-templates/blob/master/sso/sso70-https.json |
Perhaps fragments files are better approach, |
Whenever which approach we decide to adopt, how it be possible to specify the parameters to be used tu customize the application to be created from the template ? |
@cmoulliard Sorry, don't get your question. This issue is not about applying a template but getting the template object it into OpenShift by referring to an external source. Wdym with 'specify the parameters' ? |
@rhuss The question of @alesj concerns the following point. Is it possible to pass to the f-m-plugin a reference to an openshift template instead of decomposing an openshift template into the corresponding objects as we did here |
No, there is no way to apply / fill in value for template parameters when doing a The question will be, from where the values should come from. Maven properties ? standard input ? External property file ? Please open an issue for this, maybe with your preferred way how to provide those values. |
This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions! |
Might be still useful, adding it to the backlog. |
This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions! |
It would be useful to be able to include external k8s / OpenShift resources.
e.g. a SpringBoot app that requires RHT SSO could simply reference CE team's RHT SSO app template
(and not have to copy paste the resource file -- leave it to the original authors to be properly maintained)
@ro14nd ^^
The text was updated successfully, but these errors were encountered: