--- apiVersion: v1 kind: Template metadata: labels: provider: fabric8 project: generator-backend version: 1.0.61 group: io.fabric8 name: generator-backend objects: - apiVersion: v1 kind: ServiceAccount metadata: labels: provider: fabric8 project: generator-backend version: 1.0.61 group: io.fabric8 name: generator-backend - apiVersion: v1 kind: Service metadata: annotations: fabric8.io/git-commit: 839c86a4c386b7abad2ebcdb25f5b45b0e9b2645 fabric8.io/scm-con-url: scm:git:git://github.com/fabric8io/generator-backend.git prometheus.io/port: "9779" fabric8.io/scm-url: http://github.com/fabric8io/generator-backend fabric8.io/issue-system: JIRA fabric8.io/issue-tracker-url: https://issues.jboss.org/ fabric8.io/git-branch: release-v1.0.61 prometheus.io/scrape: "true" fabric8.io/scm-devcon-url: scm:git:git@github.com:fabric8io/generator-backend.git fabric8.io/scm-tag: HEAD labels: expose: "true" provider: fabric8 project: generator-backend version: 1.0.61 group: io.fabric8 name: generator-backend spec: ports: - name: http port: 8080 protocol: TCP targetPort: 8080 selector: project: generator-backend provider: fabric8 group: io.fabric8 - apiVersion: v1 kind: DeploymentConfig metadata: annotations: fabric8.io/git-commit: 839c86a4c386b7abad2ebcdb25f5b45b0e9b2645 fabric8.io/metrics-path: dashboard/file/kubernetes-pods.json/?var-project=generator-backend&var-version=1.0.61 fabric8.io/scm-con-url: scm:git:git://github.com/fabric8io/generator-backend.git fabric8.io/scm-url: http://github.com/fabric8io/generator-backend fabric8.io/issue-system: JIRA fabric8.io/issue-tracker-url: https://issues.jboss.org/ fabric8.io/git-branch: release-v1.0.61 fabric8.io/scm-devcon-url: scm:git:git@github.com:fabric8io/generator-backend.git fabric8.io/scm-tag: HEAD labels: provider: fabric8 project: generator-backend version: 1.0.61 group: io.fabric8 name: generator-backend spec: replicas: 2 selector: project: generator-backend provider: fabric8 version: 1.0.61 group: io.fabric8 template: metadata: annotations: fabric8.io/git-commit: 839c86a4c386b7abad2ebcdb25f5b45b0e9b2645 fabric8.io/metrics-path: dashboard/file/kubernetes-pods.json/?var-project=generator-backend&var-version=1.0.61 fabric8.io/scm-con-url: scm:git:git://github.com/fabric8io/generator-backend.git fabric8.io/scm-url: http://github.com/fabric8io/generator-backend fabric8.io/issue-system: JIRA fabric8.io/issue-tracker-url: https://issues.jboss.org/ fabric8.io/git-branch: release-v1.0.61 fabric8.io/scm-devcon-url: scm:git:git@github.com:fabric8io/generator-backend.git fabric8.io/scm-tag: HEAD labels: provider: fabric8 project: generator-backend version: 1.0.61 group: io.fabric8 spec: containers: - env: - name: OPENSHIFT_API_URL value: ${OPENSHIFT_API_URL} - name: KEYCLOAK_SAAS_URL value: ${KEYCLOAK_SAAS_URL} - name: LAUNCHPAD_BACKEND_CATALOG_GIT_REF value: next - name: KUBERNETES_NAMESPACE valueFrom: fieldRef: fieldPath: metadata.namespace image: fabric8/generator-backend:1.0.61 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 10 httpGet: path: forge/version port: 8080 initialDelaySeconds: 120 timeoutSeconds: 3 name: wildfly-swarm ports: - containerPort: 8080 name: http protocol: TCP - containerPort: 9779 name: prometheus protocol: TCP - containerPort: 8778 name: jolokia protocol: TCP readinessProbe: httpGet: path: forge/version port: 8080 initialDelaySeconds: 3 timeoutSeconds: 3 securityContext: privileged: false workingDir: /home serviceAccountName: generator-backend triggers: - type: ConfigChange parameters: - name: FORGE_URL value: forge.api.prod-preview.openshift.io - name: OPENSHIFT_API_URL value: https://api.free-int.openshift.com - name: KEYCLOAK_SAAS_URL value: https://sso.prod-preview.openshift.io