Skip to content

Commit

Permalink
README fixes
Browse files Browse the repository at this point in the history
- Fix indentation of example config.yaml
- Fix example logout command
  • Loading branch information
nirs committed Nov 30, 2023
1 parent eeedb0a commit 6c58f93
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@ To use this tool, prepare a yaml file with the cluster details:
```
$ cat config.yaml
clusters:
- name: hub
url: cluster1.example.com:8443
username: kubeadmin
password: PeSkM-R6YcH-LyPZa-oTOO1
- name: c1
url: cluster2.example.com:8443
username: kubeadmin
password: ZjIZn-SFUyR-aE4gI-fJcfL
- name: c2
url: cluster3.example.com:8443
username: kubeadmin
password: 7C700-oVS3Q-25rtx-YMew5
current-context: hub
- name: hub
url: cluster1.example.com:8443
username: kubeadmin
password: PeSkM-R6YcH-LyPZa-oTOO1
- name: c1
url: cluster2.example.com:8443
username: kubeadmin
password: ZjIZn-SFUyR-aE4gI-fJcfL
- name: c2
url: cluster3.example.com:8443
username: kubeadmin
password: 7C700-oVS3Q-25rtx-YMew5
current-context: hub
```

## Log in to cluterset
Expand All @@ -57,7 +57,7 @@ oc clusterset login --config config.yaml
To log out from all clusters in config.yaml:

```
oc clusterset --config config.yaml
oc clusterset logout --config config.yaml
```

## License
Expand Down

0 comments on commit 6c58f93

Please # to comment.