Description of problem:
When I deploy a DataSciencePipelinesApplication named Sample, I see a deployment named ds-pipeline-sample. This deployment has two containers: oauth-proxy and ds-pipeline-api-server.
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
- deploy a DataSciencePipelinesApplication application
- look at the deployment it creates, and the containers inside it
Actual results:
the oauth-proxy container appears first, then the ds-pipeline-api-server container
Expected results:
the main container of the pod should appear first, then the side-cars.
This simplifies the inspection of the containers with oc logs, oc rsh, etc, which use the first container by default
Reproducibility (Always/Intermittent/Only Once):
Build Details:
RHODS 1.25.0 RC
Workaround:
Additional info:
I didn't look at the other deployments, they may suffer from the same problem.
Disclaimer: ensure that the order of containers are not being referenced in any code (i.e. code that assumes oauth-proxy is the first container in the deployment spec. and also confirm nothing breaks when order is reversed)