diff --git a/deployment/config/dev/app.yaml b/deployment/config/dev/app.yaml index e25f2dd..397f71a 100644 --- a/deployment/config/dev/app.yaml +++ b/deployment/config/dev/app.yaml @@ -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 diff --git a/deployment/config/test/app.yaml b/deployment/config/test/app.yaml index 0486df3..e3a955d 100644 --- a/deployment/config/test/app.yaml +++ b/deployment/config/test/app.yaml @@ -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