From 4fcb06042fc64f09921c92cb63161de450867f6a Mon Sep 17 00:00:00 2001 From: Dan K <dk14142@gmail.com> Date: Tue, 16 Jul 2019 21:24:45 +0200 Subject: [PATCH] WIP:feat(ch9s6): remove YAML fragments --- /dev/null | 26 -------------------------- 1 files changed, 0 insertions(+), 26 deletions(-) diff --git a/micro-java/src/main/fabric8/deployment.yml b/micro-java/src/main/fabric8/deployment.yml deleted file mode 100644 index 57d2f01..0000000 --- a/micro-java/src/main/fabric8/deployment.yml +++ /dev/null @@ -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" - diff --git a/micro-java/src/main/fabric8/route.yml b/micro-java/src/main/fabric8/route.yml deleted file mode 100644 index 1861f0e..0000000 --- a/micro-java/src/main/fabric8/route.yml +++ /dev/null @@ -1,19 +0,0 @@ ---- -apiVersion: v1 -kind: Route -metadata: - labels: - expose: "true" - app: ${project.artifactId} - provider: fabric8 - version: "1.0" - group: com.redhat.training - name: ${project.artifactId} -spec: -# host: ${hostname} - port: - targetPort: 8080 - to: - kind: Service - name: ${project.artifactId} - diff --git a/micro-java/src/main/fabric8/svc.yml b/micro-java/src/main/fabric8/svc.yml deleted file mode 100644 index 8dbcfce..0000000 --- a/micro-java/src/main/fabric8/svc.yml +++ /dev/null @@ -1,26 +0,0 @@ ---- -apiVersion: v1 -kind: Service -metadata: -# annotations: -# fabric8.io/iconUrl: img/icons/camel.svg - labels: - expose: "true" - app: ${project.artifactId} - provider: fabric8 - version: "1.0" - group: com.redhat.training - name: ${project.artifactId} -spec: - ports: - - name: http-tomcat - port: 8080 - protocol: TCP - targetPort: 8080 -# - name: rest -# port: ${rest-port} -# protocol: TCP -# targetPort: ${rest-port} - selector: - deploymentconfig: ${project.artifactId} - -- Gitblit v1.9.3