Skip to content

Commit d87be89

Browse files
jeffmendozaJon Wayne Parrott
authored and
Jon Wayne Parrott
committed
Update endpoints gke config to not use secrets. (GoogleCloudPlatform#634)
1 parent e2e4802 commit d87be89

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

endpoints/getting-started/container-engine.yaml

+2-16
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
1615
apiVersion: v1
1716
kind: Service
1817
metadata:
@@ -23,9 +22,6 @@ spec:
2322
targetPort: 8080
2423
protocol: TCP
2524
name: http
26-
- port: 443
27-
protocol: TCP
28-
name: https
2925
selector:
3026
app: esp-echo
3127
type: LoadBalancer
@@ -41,30 +37,20 @@ spec:
4137
labels:
4238
app: esp-echo
4339
spec:
44-
volumes:
45-
- name: nginx-ssl
46-
secret:
47-
secretName: nginx-ssl
4840
containers:
4941
# [START esp]
5042
- name: esp
5143
image: b.gcr.io/endpoints/endpoints-runtime:0.3
5244
args: [
5345
"-p", "8080",
54-
"-S", "443",
5546
"-a", "127.0.0.1:8081",
5647
"-s", "SERVICE_NAME",
5748
"-v", "SERVICE_VERSION",
5849
]
5950
# [END esp]
6051
ports:
61-
- containerPort: 8080
62-
- containerPort: 443
63-
volumeMounts:
64-
- mountPath: /etc/nginx/ssl
65-
name: nginx-ssl
66-
readOnly: true
52+
- containerPort: 8080
6753
- name: echo
6854
image: gcr.io/google-samples/echo-python:1.0
6955
ports:
70-
- containerPort: 8081
56+
- containerPort: 8081

0 commit comments

Comments
 (0)