Skip to content

Instantly share code, notes, and snippets.

@wzhliang
Created January 8, 2021 05:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wzhliang/d53d4c9817a45eb0c7e364dc12c3d0f8 to your computer and use it in GitHub Desktop.
Save wzhliang/d53d4c9817a45eb0c7e364dc12c3d0f8 to your computer and use it in GitHub Desktop.
apiVersion: networking.istio.io/v1beta1
kind: WorkloadEntry
metadata:
name: details-svc
spec:
# use of the service account indicates that the workload has a
# sidecar proxy bootstrapped with this service account. Pods with
# sidecars will automatically communicate with the workload using
# istio mutual TLS.
serviceAccount: details-legacy
address: 2.2.2.2
labels:
app: details-legacy
instance-id: vm1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment