-
Notifications
You must be signed in to change notification settings - Fork 211
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
Add OpenStack as a supported platform #89
Conversation
So getting origin-openstack-machine-controllers pushed (with an openshift/cluster-api-provider-openstack matching this) blocks this PR. |
ReleaseChannel string `json:"releaseChannel"` | ||
ContainerLinuxVersion string `json:"containerLinuxVersion"` | ||
Replicas string `json:"replicas"` | ||
WithCreds bool `json:"withCreds"` |
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.
WithCreds is used in aws so if set the actuator use those credentials to interact with the aws api, otherwise it uses the ami role in the given machine. How would this be handle for openstack?
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.
This would be handled by reading a clouds.yaml
file from the system. It's a similar architecture to AWS, just different file format.
thanks a lot! @flaper87 dropped a few comments/questions |
@wking @enxebre thanks a bunch for the reviews.
What's the process to get |
@flaper87 we'll need to go through https://jira.coreos.com/browse/CLOUD-145 to add the openstack images to the release process |
9021207
to
ba4bf5d
Compare
I think this is ready for another review. I'm working on an |
@@ -0,0 +1,45 @@ | |||
--- |
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.
We are planning to move the machineSet specs generation into the installer, so may be move this into that repo, so then we just make sure we deploy the right machine controller here
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.
Sounds good. So, IIUC, for now, I should just remove this file from the commit and that should be enough. Right?
/test images |
/test e2e-aws |
pkg/render/config.go
Outdated
@@ -42,12 +43,20 @@ type AWSConfig struct { | |||
WithCreds bool `json:"withCreds"` | |||
} | |||
|
|||
// OpenStackConfig contains specific config for OpenStack | |||
type OpenStackConfig struct { | |||
ClusterName string `json:"clusterName"` |
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.
you won't need these values, ClusterName
can be something arbitrary and clusterID can be generated on the spec it self, right?
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.
ok ok, I'll remove it 😄
/lgtm |
/approved |
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
I'm adding support for OpenStack to the various operators, controllers, and providers that manage an openshift cluster.
I'm not sure if this PR should depend on others so I'd really appreciate some guidance in the process. 😄