From 6c58f9357095607e2a7096d21701bc8f8924c2be Mon Sep 17 00:00:00 2001 From: Nir Soffer Date: Thu, 30 Nov 2023 03:42:42 +0200 Subject: [PATCH] README fixes - Fix indentation of example config.yaml - Fix example logout command --- README.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 2e22a57..e3e19d7 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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