This repository was archived by the owner on Sep 20, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +24
-3
lines changed
Expand file tree Collapse file tree 1 file changed +24
-3
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,31 @@ Prebuilt containers are posted on [Docker Hub](https://hub.docker.com/r/apache/c
2222
2323The cloud controller is intended to be deployed as a daemon set, with on instance running on each node.
2424
25- Please see [ deployment.yaml] ( /deployment.yaml ) for an example deployment.
25+ To configure API access to your CloudStack management server, you need to create a secret containing a ` cloudstack.ini `
26+ that is suitable for your environment.
27+
28+ ` cloudstack.ini ` should look like this:
29+ ``` ini
30+ [Global]
31+ api-url = <CloudStack API URL>
32+ api-key = <CloudStack API Key>
33+ secret-key = <CloudStack API Secret>
34+ project-id = <CloudStack Project UUID (optional)>
35+ zone = <CloudStack Zone Name (optional)>
36+ ssl-no-verify = <Disable SSL certificate validation: true or false (optional)>
37+ ```
38+
39+ The access token needs to be able to fetch VM information and deploy load balancers in the project or domain where the nodes reside.
2640
27- The comments explain how to configure Cloudstack API access.
28- You need an access token that is allowed to fetch VM information and deploy load balancers in the project or domain where the nodes reside.
41+ To create the secret, use the following command:
42+ ``` bash
43+ kubectl create secret generic cloudstack-secret --from-file=cloudstack.ini
44+ ```
45+
46+ You can then use the provided example [ deployment.yaml] ( /deployment.yaml ) to deploy the controller:
47+ ``` bash
48+ kubectl apply -f deployment.yaml
49+ ```
2950
3051### Protocols
3152
You can’t perform that action at this time.
0 commit comments