Remove unnecessary config

This commit is contained in:
Ovidio Mallo 2016-12-05 17:09:29 +01:00
parent a17901c49d
commit bc9c84d8ce
2 changed files with 4 additions and 8 deletions

View file

@ -12,8 +12,6 @@ spec:
deploymentconfig: frontend
template:
metadata:
annotations:
openshift.io/container.frontend.image.entrypoint: '["container-entrypoint","/bin/sh","-c","$STI_SCRIPTS_PATH/usage"]'
labels:
app: frontend
deploymentconfig: frontend
@ -26,14 +24,14 @@ spec:
protocol: TCP
triggers:
- type: ConfigChange
- imageChangeParams:
- type: ImageChange
imageChangeParams:
automatic: true
containerNames:
- frontend
from:
kind: ImageStreamTag
name: frontend:latest
type: ImageChange
---
apiVersion: v1
kind: Service

View file

@ -12,8 +12,6 @@ spec:
deploymentconfig: frontend
template:
metadata:
annotations:
openshift.io/container.frontend.image.entrypoint: '["container-entrypoint","/usr/libexec/s2i/run"]'
labels:
app: frontend
deploymentconfig: frontend
@ -26,7 +24,8 @@ spec:
protocol: TCP
triggers:
- type: ConfigChange
- imageChangeParams:
- type: ImageChange
imageChangeParams:
automatic: true
containerNames:
- frontend
@ -34,7 +33,6 @@ spec:
kind: ImageStreamTag
name: frontend:test
namespace: rubex-dev
type: ImageChange
---
apiVersion: v1
kind: Service