Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a257ea3

Browse files
authored
chore: Migrate region tags (GoogleCloudPlatform#11938)
* chore: Migrate region tags Add endpoints product prefix to some regions that were missing it. * Fix region tag style violation * Fix mismatched region tag
1 parent 66420da commit a257ea3

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

endpoints/getting-started/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ spec:
3939
spec:
4040
containers:
4141
# [START esp]
42+
# [START endpoints_esp]
4243
- name: esp
4344
image: gcr.io/endpoints-release/endpoints-runtime:1
4445
args: [
@@ -48,6 +49,7 @@ spec:
4849
"--rollout_strategy=managed",
4950
]
5051
# [END esp]
52+
# [END endpoints_esp]
5153
ports:
5254
- containerPort: 8081
5355
- name: echo

endpoints/kubernetes/k8s-grpc-bookstore.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ spec:
4848
secret:
4949
secretName: service-account-creds
5050
# [END secret-1]
51+
# [START endpoints_service]
5152
# [START service]
5253
containers:
5354
- name: esp
@@ -60,14 +61,17 @@ spec:
6061
"--service_account_key=/etc/nginx/creds/service-account-creds.json"
6162
]
6263
# [END service]
64+
# [END endpoints_service]
6365
ports:
6466
- containerPort: 9000
67+
# [START endpoints_secret_2]
6568
# [START secret-2]
6669
volumeMounts:
6770
- mountPath: /etc/nginx/creds
6871
name: service-account-creds
6972
readOnly: true
7073
# [END secret-2]
74+
# [END endpoints_secret_2]
7175
- name: bookstore
7276
image: gcr.io/endpointsv2/python-grpc-bookstore-server:1
7377
ports:

0 commit comments

Comments
 (0)