From e9006e654873c2e42d911fdca4a0a73698a07661 Mon Sep 17 00:00:00 2001 From: Tu Nguyen Date: Mon, 30 Oct 2023 08:28:42 -0700 Subject: [PATCH] Update multi-port examples to remove spec.template.metadata.name --- website/content/docs/k8s/multiport/configure.mdx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/website/content/docs/k8s/multiport/configure.mdx b/website/content/docs/k8s/multiport/configure.mdx index 991a0817fb79..8beaf8339d1c 100644 --- a/website/content/docs/k8s/multiport/configure.mdx +++ b/website/content/docs/k8s/multiport/configure.mdx @@ -129,12 +129,11 @@ spec: app: api template: metadata: - name: api labels: app: api annotations: "consul.hashicorp.com/mesh-inject": "true" - 'consul.hashicorp.com/transparent-proxy': 'true' + "consul.hashicorp.com/transparent-proxy": "true" spec: containers: - name: api @@ -204,12 +203,11 @@ spec: app: api template: metadata: - name: api labels: app: api annotations: "consul.hashicorp.com/mesh-inject": "true" - 'consul.hashicorp.com/transparent-proxy': 'true' + "consul.hashicorp.com/transparent-proxy": "true" spec: containers: - name: api @@ -266,12 +264,11 @@ spec: app: web template: metadata: - name: web labels: app: web annotations: "consul.hashicorp.com/mesh-inject": "true" - 'consul.hashicorp.com/transparent-proxy': 'true' + "consul.hashicorp.com/transparent-proxy": "true" spec: containers: - name: web