Skip to content

Commit 63eb0b0

Browse files
authored
Merge pull request #62115 from JoaoBraveCoding/fix-oc-auth
log-4129: fix oc CLI command to validate if user has rights to view infra/audit logs
2 parents 044da97 + 6e1b445 commit 63eb0b0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

modules/cluster-logging-visualizer-indices.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ If you can view the pods and logs in the `default`, `kube-` and `openshift-` pro
1616
+
1717
[source,terminal]
1818
----
19-
$ oc auth can-i get pods/log -n <project>
19+
$ oc auth can-i get pods --subresource log -n <project>
2020
----
2121
+
2222
.Example output

modules/cluster-logging-visualizer-kibana.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ If you can view the pods and logs in the `default`, `kube-` and `openshift-` pro
2020
+
2121
[source,terminal]
2222
----
23-
$ oc auth can-i get pods/log -n <project>
23+
$ oc auth can-i get pods --subresource log -n <project>
2424
----
2525
+
2626
.Example output

modules/cluster-logging-visualizer-launch.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ If you can view the pods and logs in the `default`, `kube-*` and `openshift-*` p
1616
+
1717
[source,terminal]
1818
----
19-
$ oc auth can-i get pods/log -n <project>
19+
$ oc auth can-i get pods --subresource log -n <project>
2020
----
2121
+
2222
.Example output

0 commit comments

Comments
 (0)