fabric8io/fabric8-pipeline-library

Evaluate and document the usage of the environment variables.

jaseemabid opened this issue · 0 comments

Variables like this in code effectively makes this project difficult to use outside the red hat ecosystem. This needs to be reconsidered in the sprit of FOSS.

export FABRIC8_WIT_API_URL="https://api.prod-preview.openshift.io/api/"
export FABRIC8_RECOMMENDER_API_URL="https://recommender.prod-preview.api.openshift.io"
export FABRIC8_FORGE_API_URL="https://forge.api.prod-preview.openshift.io"
export FABRIC8_SSO_API_URL="https://sso.prod-preview.openshift.io/"
export FABRIC8_AUTH_API_URL="https://auth.prod-preview.openshift.io/api/"
        
export OPENSHIFT_CONSOLE_URL="https://console.free-stg.openshift.com/console/"
export WS_K8S_API_SERVER="f8osoproxy-test-dsaas-preview.b6ff.rh-idev.openshiftapps.com:443"
export FABRIC8_FEATURE_TOGGLES_API_URL="f8osoproxy-test-dsaas-preview.b6ff.rh-idev.openshiftapps.com:443" 

export PROXIED_K8S_API_SERVER="${WS_K8S_API_SERVER}"
export OAUTH_ISSUER="https://${WS_K8S_API_SERVER}"
export PROXY_PASS_URL="https://${WS_K8S_API_SERVER}"
export OAUTH_AUTHORIZE_URI="https://${WS_K8S_API_SERVER}/oauth/authorize"
export AUTH_LOGOUT_URI="https://${WS_K8S_API_SERVER}/connect/endsession?id_token={{id_token}}"