Skip to content

Commit

Permalink
docs: use code styling instead of shell (#46356)
Browse files Browse the repository at this point in the history
Co-authored-by: Steven Martin <[email protected]>
  • Loading branch information
stevenGravy and Steven Martin authored Sep 6, 2024
1 parent bc0e41b commit 44ee599
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ trust domain according to the refresh hint provided by the remote trust domain.
You can check the status of the federation relationship using the `tctl` CLI:

```shell
```code
$ tctl get spiffe_federation/example.com
```

Expand All @@ -109,4 +109,4 @@ Identity in Production.
- Read the [configuration reference](../../../reference/machine-id/configuration.mdx) to explore
all the available configuration options.
- Read the [SPIFFE Federation Specification](https://github.com/spiffe/spiffe/blob/main/standards/SPIFFE_Federation.md)
to understand the technical details of SPIFFE Federation.
to understand the technical details of SPIFFE Federation.
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ To use this value, you must create a Kubernetes `Secret` containing the CA
certs in the same namespace as the Teleport Kubernetes Operator using a
command such as:

```shell
```code
$ kubectl create secret generic my-root-ca --from-file=ca.pem=/path/to/root-ca.pem
```

Expand Down
2 changes: 1 addition & 1 deletion examples/chart/teleport-cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ or by installing [cert-manager](https://cert-manager.io/docs/) and setting the `

The first user can be created by executing a command in one of the auth pods.

```shell
```code
kubectl exec it -n teleport-cluster statefulset/teleport-cluster-auth -- tctl users add my-username --roles=editor,auditor,access
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ operator version is deployed, use the `--version` Helm flag.

The chart can be deployed in two ways:
- in standalone mode by running
```shell
```code
helm install teleport/teleport-operator teleport-operator --set authAddr=teleport.example.com:443 --set token=my-operator-token
```
See [the standalone guide](https://goteleport.com/docs/management/dynamic-resources/teleport-operator-standalone/) for more details.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ tls:
# certs in the same namespace as the Teleport Kubernetes Operator using a
# command such as:
#
# ```shell
# ```code
# $ kubectl create secret generic my-root-ca --from-file=ca.pem=/path/to/root-ca.pem
# ```
existingCASecretName: ""
Expand Down

0 comments on commit 44ee599

Please sign in to comment.