Skip to content

Commit

Permalink
Have a correct v1beta1 ExternalWorkload in the docs (ported from e796e04
Browse files Browse the repository at this point in the history
)
  • Loading branch information
alpeb committed Aug 13, 2024
1 parent d2747f5 commit 9b3a491
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions linkerd.io/content/2.16/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 9b3a491

Please sign in to comment.