2
0
mirror of https://github.com/status-im/consul.git synced 2025-01-10 13:55:55 +00:00

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

This commit is contained in:
Tu Nguyen 2023-10-30 10:56:10 -07:00 committed by GitHub
parent 42647de35d
commit e18901ba88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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