-
Notifications
You must be signed in to change notification settings - Fork 252
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
Use standard clouds.yaml file as config file #16
Comments
Thanks, Actually I'm not very familiar with openstack cloud configs. But I feel use standard |
@Lion-Wei yes! We create a secret just like the |
Contributions are always welcome! |
@m1093782566 sure thing, thanks. What I'd like to do, before coding anything, is evaluating whether this approach is something the rest of the team would be ok with. If so, I'm more than happy to work on it. |
@flaper87 Have you made any commits on this? If not I am interested in picking this up. |
@chaosaffe I started looking into this and then I thought it'd be nice to have this code shared across the cluster-api-provider and the cloud-provider OpenStack. I discussed the idea with some other folks from this SIG and the feedback seemed to be good. If you have time available to get this done in a short time, then feel free to take it as I'm not going to be able to do it myself until the end of next week. But I was definitely hoping to get it done before mid-Oct (just to give you an idea :D) Thanks a lot for reaching out, let me know what you decide 😄 🍰 |
@flaper87 just to clarify the intent and question here: You want to refactor the code in I am happy to pick this up this week, but some more concrete information about how you would like to see this done would be great. If it is easier you can find me on the K8s Slack with the same username. |
@chaosaffe yep, that's exactly what I'd love to see happening. Basically, we could add support for I'll also ping you on slack but I wanted to have this written here for other folks interested in following this issue. |
hey @m1093782566 @chaosaffe, would it be acceptable for me to add https://github.com/gophercloud/utils as a dependancy for cluster-api-provider-openstack in a pull request, in order to implement this feature? The following library (https://github.com/gophercloud/utils/blob/a45c12ccd8b0ce73306762607a60568a1bca4bbe/openstack/clientconfig/requests.go) would provide a way to parse clouds.yaml without home brewing and then having to test/maintain our own. |
@iamemilio sounds good. go for it! |
@iamemilio certainly! I was looking at the same package for implementing, so we are on the same page for it. Looking forward to seeing your PR! |
@iamemilio hey, others have also replied but I wanted to give you some feedback on this. I think it's fine to do that. Have you looked at how |
this patch allows clouds.yaml to be used to configure access to the openstack cluster in response to: kubernetes-sigs#16
this patch allows clouds.yaml to be used to configure access to the openstack cluster in response to: kubernetes-sigs#16
this patch allows clouds.yaml to be used to configure access to the openstack cluster in response to: kubernetes-sigs#16
* Uses Clouds.yaml to authenticate with openstack * Use Clouds.yaml this patch allows clouds.yaml to be used to configure access to the openstack cluster in response to: #16 * unit tests * Modifies the generator to genreate clouds.yaml scripts - can also read in clouds.yaml files
\assign @iamemilio |
/assign @iamemilio |
oops |
is this issue closed? |
Seems works about this issue all finished, I'll just close this issue. : ) |
* Uses Clouds.yaml to authenticate with openstack * Use Clouds.yaml this patch allows clouds.yaml to be used to configure access to the openstack cluster in response to: kubernetes-sigs#16 * unit tests * Modifies the generator to genreate clouds.yaml scripts - can also read in clouds.yaml files
…uster-api Fork and rebrand cluster-api for openshift
Bug 2033382: Fix missing machine annotations
* Uses Clouds.yaml to authenticate with openstack * Use Clouds.yaml this patch allows clouds.yaml to be used to configure access to the openstack cluster in response to: kubernetes-sigs#16 * unit tests * Modifies the generator to genreate clouds.yaml scripts - can also read in clouds.yaml files
We're currently using a custom config file for
cluster-api-provider-openstack
, which is different from both, thecloud-provider-openstack
config file and the standardclouds.yaml
file. The current config uses the following format:In order to provider a better user experience, it'd be better to either adopt the config file format used by the
cloud-provider-openstack
or, even better, theclouds.yaml
format (gophercloud has support for the latter already). Here's an example of what the yaml would look like:Thoughts?
/cc @Lion-Wei
The text was updated successfully, but these errors were encountered: