Browse Source

Update multi-port examples to remove spec.template.metadata.name (#19430)

pull/19435/head
Tu Nguyen 1 year ago committed by GitHub
parent
commit
e18901ba88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      website/content/docs/k8s/multiport/configure.mdx

9
website/content/docs/k8s/multiport/configure.mdx

@ -129,12 +129,11 @@ spec:
app: api app: api
template: template:
metadata: metadata:
name: api
labels: labels:
app: api app: api
annotations: annotations:
"consul.hashicorp.com/mesh-inject": "true" "consul.hashicorp.com/mesh-inject": "true"
'consul.hashicorp.com/transparent-proxy': 'true' "consul.hashicorp.com/transparent-proxy": "true"
spec: spec:
containers: containers:
- name: api - name: api
@ -204,12 +203,11 @@ spec:
app: api app: api
template: template:
metadata: metadata:
name: api
labels: labels:
app: api app: api
annotations: annotations:
"consul.hashicorp.com/mesh-inject": "true" "consul.hashicorp.com/mesh-inject": "true"
'consul.hashicorp.com/transparent-proxy': 'true' "consul.hashicorp.com/transparent-proxy": "true"
spec: spec:
containers: containers:
- name: api - name: api
@ -266,12 +264,11 @@ spec:
app: web app: web
template: template:
metadata: metadata:
name: web
labels: labels:
app: web app: web
annotations: annotations:
"consul.hashicorp.com/mesh-inject": "true" "consul.hashicorp.com/mesh-inject": "true"
'consul.hashicorp.com/transparent-proxy': 'true' "consul.hashicorp.com/transparent-proxy": "true"
spec: spec:
containers: containers:
- name: web - name: web

Loading…
Cancel
Save