-
Notifications
You must be signed in to change notification settings - Fork 202
InitContainers when defined within DeploymentConfig are removed from final resource created and deployed #1114
Comments
@cmoulliard thanks for reporting it and detailed information. WIll take it on priority in coming spring to fix it. :) |
I assume you meant Sprint, not spring ? :) |
This problem is related to the fact that if there are no DeploymentConfig fragment created under src/main/fabric8, then f-m-p will create a Deployment k8s resource which is different from DC resource and info added to an enricher will be lost when post enrichment step will called to convert a Deployment to DeploymentConfig. Refactoring of f-m-p is required here to let enricher to access either k8s or openshift resources and convert them OR as proposed by @ro14nd, a 2 pass-chain |
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! |
@cmoulliard : Hi, We are working on the suggested refactoring #678 is part of our sprint plan. and fabric8-build is now known as fabric8-kit ;-) |
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! |
Hi @cmoulliard I tried your dc.yaml fragment on our current snapshot and fmp generated initiContainers as well. Can you verify and report from your side ? Closing this one. Feel free to reopen the issue if doesn't work for you. |
When a pod to be deployed includes within its
DeploymentConfig
spec yaml file initContainers, then they are skipped when f-m-p (3.5.30) process themThe original
dc.yaml
file containing 2 initcontainers and 2 containersand if deployed correctly we should see such info
but this is not the case.
The file
oc.yaml
generated only contain 2 containers and not initContainersWhen looking to the code, it appears that we don't during enrichment append initContainers excepted for Volume, TLS
The text was updated successfully, but these errors were encountered: