File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -42,12 +42,15 @@ spec:
4242 labels :
4343 app : esp-grpc-bookstore
4444 spec :
45+ # [START endpoints_secret1_yaml_python]
4546 # [START endpoints_secret_1]
4647 volumes :
4748 - name : service-account-creds
4849 secret :
4950 secretName : service-account-creds
5051 # [END endpoints_secret_1]
52+ # [START endpoints_secret2_yaml_python]
53+ # [START endpoints_service_yaml_python]
5154 # [START endpoints_service]
5255 containers :
5356 - name : esp
@@ -60,14 +63,17 @@ spec:
6063 " --service_account_key=/etc/nginx/creds/service-account-creds.json"
6164 ]
6265 # [END endpoints_service]
66+ # [END endpoints_service_yaml_python]
6367 ports :
6468 - containerPort : 9000
69+ # [START endpoints_secret2_yaml_python]
6570 # [START endpoints_secret_2]
6671 volumeMounts :
6772 - mountPath : /etc/nginx/creds
6873 name : service-account-creds
6974 readOnly : true
7075 # [END endpoints_secret_2]
76+ # [END endpoints_secret2_yaml_python]
7177 - name : bookstore
7278 image : gcr.io/endpointsv2/python-grpc-bookstore-server:1
7379 ports :
You can’t perform that action at this time.
0 commit comments