Skip to content

Commit

Permalink
Remove route +fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
skabashnyuk committed Aug 9, 2018
1 parent 62de813 commit 6d7a3c8
Showing 1 changed file with 3 additions and 21 deletions.
24 changes: 3 additions & 21 deletions openshift/che-plugin-registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,6 @@ kind: Template
metadata:
name: che-plugin-registry-service
objects:
- apiVersion: v1
kind: Route
metadata:
name: che-plugin-registry
spec:
host: ${APPLICATION_DOMAIN}
to:
kind: Service
name: che-plugin-registry
- apiVersion: v1
kind: DeploymentConfig
metadata:
Expand All @@ -31,9 +22,6 @@ objects:
app: che-plugin-registry
deploymentconfig: che-plugin-registry
strategy:
resources:
limits:
memory: 1Gi
rollingParams:
intervalSeconds: 1
maxSurge: 25%
Expand All @@ -43,7 +31,6 @@ objects:
type: Rolling
template:
metadata:
creationTimestamp: null
labels:
app: che-plugin-registry
deploymentconfig: che-plugin-registry
Expand All @@ -52,16 +39,15 @@ objects:
- image: ${IMAGE}:${IMAGE_TAG}
imagePullPolicy: Always
name: che-plugin-registry
ports:
- containerPort: 8080
livenessProbe:
httpGet:
path: /plugins
port: 8080
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 3
name: httpd-example
ports:
- containerPort: 8080
readinessProbe:
httpGet:
path: /plugins
Expand Down Expand Up @@ -93,9 +79,5 @@ parameters:
- description: Maximum amount of memory the container can use.
displayName: Memory Limit
name: MEMORY_LIMIT
required: true
value: 256Mi
- description: The exposed hostname that will route to the httpd service, if left
blank a value will be defaulted.
displayName: Application Hostname
name: APPLICATION_DOMAIN

0 comments on commit 6d7a3c8

Please sign in to comment.