Some cleanup

This commit is contained in:
Ovidio Mallo 2016-12-08 23:32:58 +01:00
parent b8bcf95107
commit fa84cb2546
2 changed files with 9 additions and 5 deletions

View file

@ -4,9 +4,9 @@ objects:
- apiVersion: v1 - apiVersion: v1
kind: DeploymentConfig kind: DeploymentConfig
metadata: metadata:
name: ${APP}
labels: labels:
app: ${APP} app: ${APP}
name: ${APP}
spec: spec:
replicas: ${REPLICAS} replicas: ${REPLICAS}
selector: selector:
@ -38,9 +38,9 @@ objects:
- apiVersion: v1 - apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: ${APP}
labels: labels:
app: ${APP} app: ${APP}
name: ${APP}
spec: spec:
ports: ports:
- name: 8080-tcp - name: 8080-tcp
@ -53,9 +53,9 @@ objects:
- apiVersion: v1 - apiVersion: v1
kind: Route kind: Route
metadata: metadata:
name: ${APP}
labels: labels:
app: ${APP} app: ${APP}
name: ${APP}
spec: spec:
port: port:
targetPort: 8080-tcp targetPort: 8080-tcp
@ -82,3 +82,7 @@ parameters:
displayName: Replicas displayName: Replicas
name: REPLICAS name: REPLICAS
value: "1" value: "1"
- description: The durability of reclaimed storage volumes.
displayName: Storage durability
name: STORAGE_DURABILITY
value: permanent

View file

@ -4,15 +4,15 @@ objects:
- apiVersion: v1 - apiVersion: v1
kind: ImageStream kind: ImageStream
metadata: metadata:
name: frontend
labels: labels:
app: frontend app: frontend
name: frontend
- apiVersion: v1 - apiVersion: v1
kind: BuildConfig kind: BuildConfig
metadata: metadata:
name: frontend
labels: labels:
app: frontend app: frontend
name: frontend
spec: spec:
output: output:
to: to: