launcher-application icon indicating copy to clipboard operation
launcher-application copied to clipboard

Be environment-aware

Open ALRubinger opened this issue 8 years ago • 6 comments

We need to better report to the user the environment they're in, be it CDK, MiniShift, OSO.

ALRubinger avatar Jun 01 '17 19:06 ALRubinger

Probably some ENV VAR in the template could take care of this for us

ALRubinger avatar Jun 01 '17 19:06 ALRubinger

Wonder if there is already a env var set in the Minishift process that we can use?

gastaldi avatar Jun 01 '17 19:06 gastaldi

I believe this should be Minishift/CDK, or OSO (as they are identical). But can you explain the reasoning behind this?

gbraad avatar Jun 02 '17 07:06 gbraad

For local setups , running minishift version should tell you whether it is just Minishift or Minishift in CDK

LalatenduMohanty avatar Jun 02 '17 07:06 LalatenduMohanty

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.

gastaldi avatar Jun 02 '17 07:06 gastaldi

@ia3andy this could be resolved by introducing this operator, right?

edewit avatar Jan 08 '19 16:01 edewit