Skip to content

Commit cc59cf6

Browse files
scoopexMarc Schöchlin
andauthored
improve documentation (#35)
Signed-off-by: Marc Schöchlin <marc.schoechlin@uhurutec.com> Co-authored-by: Marc Schöchlin <marc.schoechlin@uhurutec.com>
1 parent ce0073e commit cc59cf6

File tree

1 file changed

+33
-2
lines changed

1 file changed

+33
-2
lines changed

README.md

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,38 @@ options:
6262

6363
# Configuration
6464

65-
The following cnfigurations:
65+
## Configguring the cloud admin access
66+
67+
This is an example for a yaook based system.
68+
69+
1. Gather openstack admin credentials
70+
(example for a Yaook system)
71+
```
72+
kubectl get secret -n yaook keystone-admin -o json | jq -r '.data | to_entries[] | "\(.key)=\(.value | @base64d)"'
73+
```
74+
2. Create a `clouds.yaml` file to access the test cloud
75+
```
76+
clouds:
77+
ustack-admin:
78+
auth:
79+
auth_url: https://keystone.my.ustack.cloud:443/v3
80+
#
81+
password: REDACTED
82+
project_domain_name: Default
83+
project_name: admin
84+
user_domain_name: Default
85+
username: yaook-sys-maint
86+
verify: false
87+
```
88+
3. Specify environment variables
89+
```
90+
export OS_CLIENT_CONFIG_FILE=$PWD/clouds.yaml
91+
export OS_CLOUD="ustack-admin"
92+
```
93+
94+
## Configuring profiles
95+
96+
The following configurations are supported by the file referenced bv the `--config` option:
6697

6798
* `admin_domain_password`
6899
* the password for the domain users which are created (User `<domain-name>_admin`)
@@ -88,7 +119,7 @@ The following cnfigurations:
88119
* `admin_vm_ssh_key`:
89120
* A multiline string which ssh public keys
90121

91-
```
122+
Predefined profiles are availalable in the [profiles](./profiles) folder.
92123

93124
# Testing Scenarios
94125

0 commit comments

Comments
 (0)