Skip to content

Commit

Permalink
Merge branch 'main' into apoorvasridaran-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
apoorvasridaran authored Jan 9, 2025
2 parents b26ddf5 + b6fd2c0 commit a1868c6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions endpoints/getting-started/k8s/esp_echo_http.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,15 @@ spec:
labels:
app: esp-echo
spec:
# [START endpoints_secret1_yaml_go]
# [START endpoints_secret_1]
volumes:
- name: service-account-creds
secret:
secretName: service-account-creds
# [END endpoints_secret_1]
# [END endpoints_secret1_yaml_go]
# [START endpoints_service_yaml_go]
# [START endpoints_service]
containers:
- name: esp
Expand All @@ -56,14 +59,17 @@ spec:
"--service_account_key", "/etc/nginx/creds/service-account-creds.json",
]
# [END endpoints_service]
# [END endpoints_service_yaml_go]
ports:
- containerPort: 8080
# [START endpoints_secret2_yaml_go]
# [START endpoints_secret_2]
volumeMounts:
- mountPath: /etc/nginx/creds
name: service-account-creds
readOnly: true
# [END endpoints_secret_2]
# [END endpoints_secret2_yaml_go]
- name: echo
image: gcr.io/endpoints-release/echo:latest
ports:
Expand Down

0 comments on commit a1868c6

Please sign in to comment.