Skip to content

Commit

Permalink
Have a correct v1beta1 ExternalWorkload in the docs
Browse files Browse the repository at this point in the history
Signed-off-by: Flynn <[email protected]>
  • Loading branch information
kflynn committed Aug 12, 2024
1 parent bf8885b commit 3f2c878
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions linkerd.io/content/2.15/reference/external-workload.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ and translates it into `EndpointSlice`s that are then attached to `Service` obje

### Spec

- `meshTls` (required) - specified the identity information that Linkerd
- `meshTLS` (required) - specified the identity information that Linkerd
requires to establish encrypted connections to this workload
- `workloadIPs` (required, at most 1) - an ip address that this workload is
- `workloadIPs` (required, at most 1) - an IP address that this workload is
reachable on
- `ports` - a list of port definitions that the workload exposes

### MeshTls
### MeshTLS

- `identity` (required) - the TLS identity of the workload, proxies require this
value to establish TLS connections with the workload
Expand Down Expand Up @@ -62,7 +62,7 @@ Below is an example of an `ExternalWorkload` resource that specifies a number of
ports and is selected by a service.

```yaml
apiVersion: workload.linkerd.io/v1alpha1
apiVersion: workload.linkerd.io/v1beta1
kind: ExternalWorkload
metadata:
name: external-workload
Expand All @@ -71,11 +71,11 @@ metadata:
location: vm
workload_name: external-workload
spec:
meshTls:
meshTLS:
identity: "spiffe://root.linkerd.cluster.local/external-workload"
serverName: "external-workload.cluster.local"
workloadIPs:
ip: 193.1.4.11
- ip: 193.1.4.11
ports:
- port: 80
name: http
Expand Down

0 comments on commit 3f2c878

Please sign in to comment.