Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.

deployOpenShift.sh supports Azure China/German Cloud #165

Open
gabrielhao opened this issue Mar 19, 2019 · 0 comments
Open

deployOpenShift.sh supports Azure China/German Cloud #165

gabrielhao opened this issue Mar 19, 2019 · 0 comments

Comments

@gabrielhao
Copy link

Is your feature request related to a problem? Please describe.

Currently in deployOpenShift.sh it checks only if the cloud is AzureUSGovernmentCloud, otherwise it is AzurePublicCloud. For the deployment on Azure China/German Cloud, Kubernetes will use wrong endpoint URL, eg. query all storage account.

if [[ $CLOUD == "US" ]]

then
    export DOCKERREGISTRYREALM=core.usgovcloudapi.net
	export CLOUDNAME="AzureUSGovernmentCloud"
else
	export DOCKERREGISTRYREALM=core.windows.net
	export CLOUDNAME="AzurePublicCloud"
fi

Describe the solution you'd like
The script can determine Azure China/German Cloud.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant