-
Notifications
You must be signed in to change notification settings - Fork 1.5k
WiP: Support custom Azure environment installation #3529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Azuremag/ipi
…ary export from bash-script
Bash script fixes
…. Added logging and output controls
Post Cluster Create changes
Changed cloud provider in authentication to AzureUSGovcloud.
|
Hi @cfBrianMiller. Thanks for your PR. I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Update from master
|
Few general things, we only consume credentials using env variables or user's host environment, because those are not technically configuration. and therefore the environment for Azure should be an install-config.yaml configuration. secondly, since this PR is trying to target UPI only for this configuration, we should add validations to https://github.com/openshift/installer/blob/master/pkg/asset/installconfig/platformprovisioncheck.go such that any non-public environment is not allowed for creating clusters by the installer. lastly, we do not prefer providing a shell script, rather a walk through of various steps in a document. like https://github.com/openshift/installer/blob/master/docs/user/azure/install_upi.md
|
|
Also if you are interested in driving the conversation of how to get the platform to support this natively, |
|
I added it as an environment variable so the rest of the create install-config process would work properly without the need for a prompt. (Azure region and DNS zone selection) I will add the validation for the environment. As you can tell by the provided shell script the tasks are non-trivial and would make the supporting document very long by including every step, not to mention the shell script makes it easy for users to consume. Is there a middle ground that can be reached here? I like the enhancement feature, I'll create one a little bit later. |
I created an enhancement that should detail the long term plan for known azure cloud environments like MAG PTAL @cfBrianMiller |
|
/close in favor of #3634 |
|
@abhinavdahiya: Closed this PR. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Creating azure environment customization options with the openshift-installer. Added the ability to add the environment variable AZURE_ENVIRONMENT that when set will configure the correct endpoints for the installer to point to.
This is the baseline for future changes that will fully enable custom azure governments.
==Known Issues==
This is only targeted at the create install-config command to be used with the UPI azure mag documentation.