WIP:feat(ch9s6): remove YAML fragments

The YAML fragments are wrong, and are causing issues when deployed.
The "Zero Config" option with fabric8 works well.
This commit is contained in:
Dan K
2019-07-16 15:24:45 -04:00
parent 698457ac05
commit 4fcb06042f
3 changed files with 0 additions and 106 deletions

View File

@@ -1,61 +0,0 @@
---
apiVersion: "v1"
kind: "DeploymentConfig"
metadata:
annotations:
fabric8.io/iconUrl: "img/icons/camel.svg"
labels:
provider: "fabric8"
project: "${env.RHT_OCP4_DEV_USER}-${project.artifactId}"
version: "1.0"
group: "com.redhat.training"
name: "${project.artifactId}"
spec:
replicas: 1
selector:
project: "${env.RHT_OCP4_DEV_USER}-${project.artifactId}"
provider: "fabric8"
group: "com.redhat.training"
strategy:
rollingParams:
timeoutSeconds: 10800
type: "Rolling"
template:
metadata:
annotations:
fabric8.io/iconUrl: "img/icons/camel.svg"
labels:
provider: "fabric8"
project: "${env.RHT_OCP4_DEV_USER}-${project.artifactId}"
version: "1.0"
group: "com.redhat.training"
spec:
containers:
- image: "${project.artifactId}:1.0"
imagePullPolicy: "IfNotPresent"
name: "spring-boot"
ports:
- containerPort: 8080
name: "http"
protocol: "TCP"
#- containerPort: 9081
# name: "rest"
# protocol: "TCP"
securityContext:
privileged: false
#readinessProbe:
# httpGet:
# path: "/hello/health"
# port: 9081
# initialDelaySeconds: 20
triggers:
- type: "ConfigChange"
- imageChangeParams:
automatic: true
containerNames:
- "spring-boot"
from:
kind: "ImageStreamTag"
name: "${project.artifactId}:1.0"
type: "ImageChange"