Skip to content

Commit 70a4df7

Browse files
authored
Merge pull request #56962 from kelbrown20/OCPBUGS-7877-Update-microshift-kube-config-procedure
OCPBUGS-7877: Update accessing microshift cluster permissions in kube…
2 parents e7cd067 + 76e163c commit 70a4df7

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

modules/microshift-accessing-cluster-locally.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@ $ mkdir -p ~/.kube/
2828
$ sudo cat /var/lib/microshift/resources/kubeadmin/kubeconfig > ~/.kube/config
2929
----
3030

31+
. Update the permissions on your `~/.kube/config` file by running the following command:
32+
+
33+
[source,terminal]
34+
----
35+
$ chmod go-r ~/.kube/config
36+
----
37+
3138
. Verify that {product-title} is running by entering the following command:
3239
+
3340
[source,terminal]

modules/microshift-accessing-cluster-remotely-non-admin.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@ Use the following procedure to access the {product-title} cluster from a remote
3939
[user@workstation]$ ssh <user>@$MICROSHIFT_MACHINE "sudo cat /var/lib/microshift/resources/kubeadmin/kubeconfig" > ~/.kube/config
4040
----
4141

42+
. Update the permissions on your `~/.kube/config` file by running the following command:
43+
+
44+
[source,terminal]
45+
----
46+
$ chmod go-r ~/.kube/config
47+
----
48+
4249
. As `user@workstation`, replace the `server` field in your `kubeconfig` file with the name or IP address of your {op-system} machine running {product-title} by running the following command:
4350
+
4451
[source,terminal]

0 commit comments

Comments
 (0)