Comment out the build/deployment triggers

This commit is contained in:
Ovidio Mallo 2016-12-05 17:17:21 +01:00
parent be0ba18857
commit 364b9aac9f
3 changed files with 31 additions and 33 deletions

View file

@ -22,16 +22,16 @@ spec:
ports: ports:
- containerPort: 8080 - containerPort: 8080
protocol: TCP protocol: TCP
triggers: #triggers:
- type: ConfigChange #- type: ConfigChange
- type: ImageChange #- type: ImageChange
imageChangeParams: # imageChangeParams:
automatic: true # automatic: true
containerNames: # containerNames:
- frontend # - frontend
from: # from:
kind: ImageStreamTag # kind: ImageStreamTag
name: frontend:latest # name: frontend:latest
--- ---
apiVersion: v1 apiVersion: v1
kind: Service kind: Service

View file

@ -28,15 +28,13 @@ spec:
kind: ImageStreamTag kind: ImageStreamTag
name: ruby:2.3 name: ruby:2.3
namespace: openshift namespace: openshift
triggers: #triggers:
- type: GitHub #- type: GitHub
github: # github:
secret: vo6X68zZF5Vo7Gr3VE6i # secret: vo6X68zZF5Vo7Gr3VE6i
- type: Generic #- type: Generic
generic: # generic:
secret: 1mmeM9GOBvY2aS7rlF0f # secret: 1mmeM9GOBvY2aS7rlF0f
- type: ConfigChange #- type: ConfigChange
- type: ImageChange #- type: ImageChange
imageChange: {} # imageChange: {}
status:
lastVersion: 0

View file

@ -22,17 +22,17 @@ spec:
ports: ports:
- containerPort: 8080 - containerPort: 8080
protocol: TCP protocol: TCP
triggers: #triggers:
- type: ConfigChange #- type: ConfigChange
- type: ImageChange #- type: ImageChange
imageChangeParams: # imageChangeParams:
automatic: true # automatic: true
containerNames: # containerNames:
- frontend # - frontend
from: # from:
kind: ImageStreamTag # kind: ImageStreamTag
name: frontend:test # name: frontend:test
namespace: rubex-dev # namespace: rubex-dev
--- ---
apiVersion: v1 apiVersion: v1
kind: Service kind: Service