Fix variables in k8s catalog template

This commit is contained in:
Darren Shepherd 2016-03-09 14:13:02 -07:00
parent 867afed8e0
commit 647497395a
3 changed files with 7 additions and 7 deletions

View File

@ -10,6 +10,6 @@ spec:
type: LoadBalancer
ports:
# the port that this service should serve on
- port: "${SERVICE_PORT}"
- port: ${SERVICE_PORT}
selector:
name: ${FRONTEND_NAME}

View File

@ -1,14 +1,14 @@
.catalog:
name: "K8s Example Guestbook"
name: "K8s Guestbook"
version: "1.0.0"
description: "It's a guestbook"
description: "It's a guestbook, I guess"
questions:
- variable: "SERVICE_NAME"
label: "Service Name"
required: true
default: "frontend"
type: "string"
- variable: "Service Port"
- variable: "SERVICE_PORT"
label: "What port to listen on"
required: true
type: "int"
@ -18,7 +18,7 @@
required: true
default: "frontend"
type: "string"
- variable: "Frontend Scale"
- variable: "FRONTEND_REPLICAS"
label: "Replicas for the frontend RC"
required: true
type: "int"

View File

@ -7,7 +7,7 @@ metadata:
spec:
ports:
# the port that this service should serve on
- port: "6379"
targetPort: "6379"
- port: 6379
targetPort: 6379
selector:
name: redis-master