-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[WIP] feat: Basic implementation enabling azure platform #1460
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
|
Hi @serbrech. 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: serbrech If they are not already assigned, you can assign the PR to them by writing The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/ok-to-test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need this yet? Is go I can't find the Gopkg.* changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it was initially faked by adding a dummy implementation in the vendor.
it's dirty, but we can soon remove it.
66eec8f to
f798cc1
Compare
f798cc1 to
4d5b8d6
Compare
pkg/asset/installconfig/platform.go
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you need this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
allows to get the platform name without depending on more assets : https://github.com/openshift/installer/pull/1460/files?file-filters%5B%5D=.go#diff-4d231774d44727d779db320e7b6c189eR39
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
allows to get the platform name without depending on more assets
😕 do you mind expanding on that?
in the current usage, why not call platform.Name() directly compared to CurrentPlatformName ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that gives returns the name of the asset. not the name of the platform.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pkg/asset/cluster/azure/azure.go
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: this might not be required.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
azure doesn't support / in tags, and I don't know what these tags are used for in openshift.
to get the terraform deployment to work, I changed the / with a ..
if the `kubernetes/io/cluster' tags are not needed for openshift, I'm happy to remove them
c677cf3 to
6902954
Compare
Adding the `[[override]]` and running `dep ensure` did not remove the package It was necessary to remove the dependency from `Gopkg.lock` manually before running `dep ensure`, and adding a required statement to the root Gopkg.toml
redirecting to private branch for the moment
|
@serbrech: PR needs rebase. 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. |
|
@serbrech: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
|
@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. |
This PR is being split into smaller chunks and should not be merged.
Basic implementation of the platform specific code in the installer to enable Azure as a target platform.
It is bypassing the
MachineSpecProvideruntil we have it ready.There are a few shortcuts, but it allows to run the installer, generate all the assets and the tfvars needed for the terraform PR (#1454) to deploy a cluster on Azure.
The aim for this PR is to get a minimum working solution to be able to iterate in smaller subsequent PRs.
TODO :