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

View file

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