Skip to content

Commit

Permalink
docs: fix api-consumer command in the k8s sar user guide
Browse files Browse the repository at this point in the history
  • Loading branch information
guicassolato committed Oct 25, 2023
1 parent 361fb65 commit b95595f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/user-guides/kubernetes-subjectaccessreview.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ kubectl run greeter --attach --rm --restart=Never -q --image=quay.io/kuadrant/au
"apiVersion": "v1",
"spec": {
"containers": [{
"name": "api-consumer", "image": "quay.io/kuadrant/authorino-examples:api-consumer", "command": ["run"],
"name": "api-consumer", "image": "quay.io/kuadrant/authorino-examples:api-consumer", "command": ["./run"],
"args":["--endpoint=http://envoy.default.svc.cluster.local:8000/hi","--method=POST","--interval=0","--token-path=/var/run/secrets/tokens/api-token"],
"volumeMounts": [{"mountPath": "/var/run/secrets/tokens","name": "access-token"}]
}],
Expand All @@ -278,7 +278,7 @@ kubectl run speaker --attach --rm --restart=Never -q --image=quay.io/kuadrant/au
"apiVersion": "v1",
"spec": {
"containers": [{
"name": "api-consumer", "image": "quay.io/kuadrant/authorino-examples:api-consumer", "command": ["run"],
"name": "api-consumer", "image": "quay.io/kuadrant/authorino-examples:api-consumer", "command": ["./run"],
"args":["--endpoint=http://envoy.default.svc.cluster.local:8000/say/blah","--method=POST","--interval=0","--token-path=/var/run/secrets/tokens/api-token"],
"volumeMounts": [{"mountPath": "/var/run/secrets/tokens","name": "access-token"}]
}],
Expand All @@ -297,7 +297,7 @@ kubectl run speaker --attach --rm --restart=Never -q --image=quay.io/kuadrant/au
"apiVersion": "v1",
"spec": {
"containers": [{
"name": "api-consumer", "image": "quay.io/kuadrant/authorino-examples:api-consumer", "command": ["run"],
"name": "api-consumer", "image": "quay.io/kuadrant/authorino-examples:api-consumer", "command": ["./run"],
"args":["--endpoint=http://envoy.default.svc.cluster.local:8000/say/blah","--method=POST","--interval=0","--token-path=/var/run/secrets/tokens/api-token"],
"volumeMounts": [{"mountPath": "/var/run/secrets/tokens","name": "access-token"}]
}],
Expand Down

0 comments on commit b95595f

Please sign in to comment.