-
Notifications
You must be signed in to change notification settings - Fork 17
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
deploy command is too restrictive #44
Comments
hi @gorkem
This is what you mean to say https://github.com/fabric8io/osio-pipeline/blob/master/vars/deploy.groovy#L46, just porcess all the resources and apply them?
This is achiveable with loadResources API. |
The issue is the required fields [1]. As an exercise try to deploy penfold [2]. It is a multi-container app with a database. It does not expose any routes. It is already trying to use the osio-pipeline but because of restrictions it can not deploy. As far as I can see those restrictions are the only impediment to support multi-clusters on the library. I am really failing to see why we have required fields for deploy? Can you explain the reasons? [1] osio-pipeline/vars/deploy.groovy Line 12 in 229a896
[2] https://github.com/gorkem/penfold |
deploy
command is too restrictive for multi-container scenarios. deploy requires certain resources to exist on the resource yaml but in the case of multi-container applications there can be multiple files that are applied. For instance if application requires 2 DeploymentConfigs one for a database and one for the application to be build, it is common (and perhaps mandatory) to separate the deployment configs to separate files and deploy them individually. An application can easily not haveService
andRoute
.The text was updated successfully, but these errors were encountered: