Fix variables in k8s catalog template
This commit is contained in:
parent
867afed8e0
commit
647497395a
@ -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}
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user