Skip to content

Commit 9f4fb8e

Browse files
chore(endpoints): migrate region tags step 1 & 3 - rename regions in k8s-grpc-bookstore.yaml (#13042)
* chore(endpoints): migrate region tags step 1 - add new regions in k8s-grpc-bookstore.yaml * chore(endpoints): migrate region tags step 3 - remove old regions in k8s-grpc-bookstore.yaml * chore(endpoints): fix wrong region tag migration for 'endpoints_secret_1'
1 parent 52b115a commit 9f4fb8e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

endpoints/kubernetes/k8s-grpc-bookstore.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ spec:
4242
labels:
4343
app: esp-grpc-bookstore
4444
spec:
45-
# [START endpoints_secret_1]
45+
# [START endpoints_secret1_yaml_python]
4646
volumes:
4747
- name: service-account-creds
4848
secret:
4949
secretName: service-account-creds
50-
# [END endpoints_secret_1]
51-
# [START endpoints_service]
50+
# [END endpoints_secret1_yaml_python]
51+
# [START endpoints_service_yaml_python]
5252
containers:
5353
- name: esp
5454
image: gcr.io/endpoints-release/endpoints-runtime:1
@@ -59,15 +59,15 @@ spec:
5959
"--backend=grpc://127.0.0.1:8000",
6060
"--service_account_key=/etc/nginx/creds/service-account-creds.json"
6161
]
62-
# [END endpoints_service]
62+
# [END endpoints_service_yaml_python]
6363
ports:
6464
- containerPort: 9000
65-
# [START endpoints_secret_2]
65+
# [START endpoints_secret2_yaml_python]
6666
volumeMounts:
6767
- mountPath: /etc/nginx/creds
6868
name: service-account-creds
6969
readOnly: true
70-
# [END endpoints_secret_2]
70+
# [END endpoints_secret2_yaml_python]
7171
- name: bookstore
7272
image: gcr.io/endpointsv2/python-grpc-bookstore-server:1
7373
ports:

0 commit comments

Comments
 (0)