Skip to content

Commit

Permalink
Update multi-port examples to remove spec.template.metadata.name
Browse files Browse the repository at this point in the history
  • Loading branch information
im2nguyen authored Oct 30, 2023
1 parent 42647de commit e9006e6
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions website/content/docs/k8s/multiport/configure.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e9006e6

Please sign in to comment.