---
apiVersion: v1
kind: List
items:
- apiVersion: v1
  kind: Service
  metadata:
    annotations:
      fabric8.io/git-commit: fc253a8bafa57c65c2ea80b412c74ac834b2107a
      fabric8.io/scm-con-url: scm:git:git@github.com:fabric8io/funktion.git/examples/example-java
      prometheus.io/port: "9779"
      fabric8.io/scm-url: http://github.com/fabric8io/funktion/examples/example-java
      fabric8.io/git-branch: release-v1.1.53
      prometheus.io/scrape: "true"
      fabric8.io/scm-devcon-url: scm:git:git@github.com:fabric8io/funktion.git/examples/example-java
      fabric8.io/scm-tag: funktion-1.0.0
    labels:
      expose: "true"
      provider: fabric8
      project: example-java
      version: 1.1.53
      group: io.fabric8.funktion.examples
    name: example-java
  spec:
    ports:
    - name: http
      port: 80
      protocol: TCP
      targetPort: 8080
    selector:
      project: example-java
      provider: fabric8
      group: io.fabric8.funktion.examples
- apiVersion: extensions/v1beta1
  kind: Deployment
  metadata:
    annotations:
      fabric8.io/git-commit: fc253a8bafa57c65c2ea80b412c74ac834b2107a
      fabric8.io/metrics-path: dashboard/file/camel-routes.json/?var-project=example-java&var-version=1.1.53
      fabric8.io/scm-con-url: scm:git:git@github.com:fabric8io/funktion.git/examples/example-java
      fabric8.io/scm-url: http://github.com/fabric8io/funktion/examples/example-java
      fabric8.io/git-branch: release-v1.1.53
      fabric8.io/scm-devcon-url: scm:git:git@github.com:fabric8io/funktion.git/examples/example-java
      fabric8.io/scm-tag: funktion-1.0.0
    labels:
      provider: fabric8
      project: example-java
      version: 1.1.53
      group: io.fabric8.funktion.examples
    name: example-java
  spec:
    replicas: 1
    selector:
      matchLabels:
        project: example-java
        provider: fabric8
        version: 1.1.53
        group: io.fabric8.funktion.examples
    template:
      metadata:
        annotations:
          fabric8.io/git-commit: fc253a8bafa57c65c2ea80b412c74ac834b2107a
          fabric8.io/metrics-path: dashboard/file/camel-routes.json/?var-project=example-java&var-version=1.1.53
          fabric8.io/scm-con-url: scm:git:git@github.com:fabric8io/funktion.git/examples/example-java
          fabric8.io/scm-url: http://github.com/fabric8io/funktion/examples/example-java
          fabric8.io/git-branch: release-v1.1.53
          fabric8.io/scm-devcon-url: scm:git:git@github.com:fabric8io/funktion.git/examples/example-java
          fabric8.io/scm-tag: funktion-1.0.0
        labels:
          provider: fabric8
          project: example-java
          version: 1.1.53
          group: io.fabric8.funktion.examples
      spec:
        containers:
        - env:
          - name: KUBERNETES_NAMESPACE
            valueFrom:
              fieldRef:
                fieldPath: metadata.namespace
          image: examples/example-java:1.1.53
          imagePullPolicy: IfNotPresent
          livenessProbe:
            httpGet:
              path: /health
              port: 8080
              scheme: HTTP
            initialDelaySeconds: 180
          name: spring-boot
          ports:
          - containerPort: 8080
            name: http
            protocol: TCP
          - containerPort: 9779
            name: prometheus
            protocol: TCP
          - containerPort: 8778
            name: jolokia
            protocol: TCP
          readinessProbe:
            httpGet:
              path: /health
              port: 8080
              scheme: HTTP
            initialDelaySeconds: 10
          securityContext:
            privileged: false
