{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes-sigs/cluster-api-provider-openstack/issues/16","repository_url":"https://api.github.com/repos/kubernetes-sigs/cluster-api-provider-openstack","labels_url":"https://api.github.com/repos/kubernetes-sigs/cluster-api-provider-openstack/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes-sigs/cluster-api-provider-openstack/issues/16/comments","events_url":"https://api.github.com/repos/kubernetes-sigs/cluster-api-provider-openstack/issues/16/events","html_url":"https://github.com/kubernetes-sigs/cluster-api-provider-openstack/issues/16","id":354574587,"node_id":"MDU6SXNzdWUzNTQ1NzQ1ODc=","number":16,"title":"Use standard clouds.yaml file as config file","user":{"login":"flaper87","id":13816,"node_id":"MDQ6VXNlcjEzODE2","avatar_url":"https://avatars0.githubusercontent.com/u/13816?v=4","gravatar_id":"","url":"https://api.github.com/users/flaper87","html_url":"https://github.com/flaper87","followers_url":"https://api.github.com/users/flaper87/followers","following_url":"https://api.github.com/users/flaper87/following{/other_user}","gists_url":"https://api.github.com/users/flaper87/gists{/gist_id}","starred_url":"https://api.github.com/users/flaper87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flaper87/subscriptions","organizations_url":"https://api.github.com/users/flaper87/orgs","repos_url":"https://api.github.com/users/flaper87/repos","events_url":"https://api.github.com/users/flaper87/events{/privacy}","received_events_url":"https://api.github.com/users/flaper87/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-08-28T05:18:37Z","updated_at":"2018-08-28T07:48:05Z","closed_at":null,"author_association":"NONE","body":"We're currently using a custom config file for `cluster-api-provider-openstack`, which is different from both, the `cloud-provider-openstack` config file and the [standard `clouds.yaml` file](https://docs.openstack.org/python-openstackclient/pike/configuration/index.html). The current config uses the following format:\r\n\r\n```\r\nuser-name:\r\npassword: \r\ndomain-name: \r\ntenant-id: \r\nregion:\r\nauth-url:\r\n```\r\nIn 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, the `clouds.yaml` format (gophercloud has support for the latter already). Here's an example of what the yaml would look like:\r\n\r\n```\r\nclouds:\r\n  my_cloud:\r\n    insecure: true\r\n    verify: false\r\n    identity_api_version: 3\r\n    auth:\r\n      auth_url: http://10.0.0.14:5000/v3\r\n      project_name: admin\r\n      username: admin\r\n      password: $SUPER_PASSWORD\r\n      project_domain_name: Default\r\n      user_domain_name: Default\r\n    region: RegionOne\r\n```\r\n\r\nThoughts?\r\n\r\n/cc @Lion-Wei "},"comment":{"url":"https://api.github.com/repos/kubernetes-sigs/cluster-api-provider-openstack/issues/comments/416485023","html_url":"https://github.com/kubernetes-sigs/cluster-api-provider-openstack/issues/16#issuecomment-416485023","issue_url":"https://api.github.com/repos/kubernetes-sigs/cluster-api-provider-openstack/issues/16","id":416485023,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjQ4NTAyMw==","user":{"login":"m1093782566","id":4953962,"node_id":"MDQ6VXNlcjQ5NTM5NjI=","avatar_url":"https://avatars1.githubusercontent.com/u/4953962?v=4","gravatar_id":"","url":"https://api.github.com/users/m1093782566","html_url":"https://github.com/m1093782566","followers_url":"https://api.github.com/users/m1093782566/followers","following_url":"https://api.github.com/users/m1093782566/following{/other_user}","gists_url":"https://api.github.com/users/m1093782566/gists{/gist_id}","starred_url":"https://api.github.com/users/m1093782566/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m1093782566/subscriptions","organizations_url":"https://api.github.com/users/m1093782566/orgs","repos_url":"https://api.github.com/users/m1093782566/repos","events_url":"https://api.github.com/users/m1093782566/events{/privacy}","received_events_url":"https://api.github.com/users/m1093782566/received_events","type":"User","site_admin":false},"created_at":"2018-08-28T07:48:05Z","updated_at":"2018-08-28T07:48:05Z","author_association":"COLLABORATOR","body":"@flaper87 \r\n\r\nContributions are always welcome!"}}
{"actor":{"display_login":"m1093782566"}}