launcher-application
launcher-application copied to clipboard
Be environment-aware
We need to better report to the user the environment they're in, be it CDK, MiniShift, OSO.
Probably some ENV VAR in the template could take care of this for us
Wonder if there is already a env var set in the Minishift process that we can use?
I believe this should be Minishift/CDK, or OSO (as they are identical). But can you explain the reasoning behind this?
For local setups , running minishift version should tell you whether it is just Minishift or Minishift in CDK
Now that I read it again and if I understood correctly, I think this relates to the target Openshift instance that the generated app is supposed to be deployed, so I believe the solution is to have a plain ENV var declared in our OpenShift Template with this information, as I don't believe we'll have this information from the OpenShift REST API.
@ia3andy this could be resolved by introducing this operator, right?