mirror of https://github.com/hashicorp/consul
Backport of Update multi-port examples to remove spec.template.metadata.name into release/1.17.x (#19434)
backport of commit e9006e6548
Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
pull/19442/head
parent
4c3c32d05e
commit
415ae8bd1b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue