---
apiVersion: v1
kind: ConfigMap
metadata:
  annotations:
    fabric8.io/git-commit: 2b9f7ce19493fe6d18392ac4f4be16f5e1a76fa3
    fabric8.io/iconUrl: https://cdn.rawgit.com/fabric8io/fabric8-devops/master/hubot-letschat/src/main/fabric8/icon.png
    fabric8.io/git-branch: release-v2.2.311
    maven.fabric8.io/app-catalog: "true"
  labels:
    provider: fabric8
    name: letschat
    project: chat-letschat
    version: target
    expose: "true"
    group: io.fabric8.devops.apps
    kind: catalog
  name: catalog-chat-letschat
data:
  catalog-chat-letschat.yml: |
    ---
    apiVersion: "v1"
    kind: "Template"
    metadata:
      annotations:
        fabric8.io/git-commit: "2b9f7ce19493fe6d18392ac4f4be16f5e1a76fa3"
        fabric8.io/iconUrl: "https://cdn.rawgit.com/fabric8io/fabric8-devops/master/hubot-letschat/src/main/fabric8/icon.png"
        fabric8.io/git-branch: "release-v2.2.311"
      finalizers: []
      labels:
        provider: "fabric8"
        name: "letschat"
        project: "chat-letschat"
        version: "target"
        expose: "true"
        group: "io.fabric8.devops.apps"
      name: "chat-letschat"
      ownerReferences: []
    labels: {}
    objects:
    - apiVersion: "v1"
      kind: "Service"
      metadata:
        annotations:
          fabric8.io/iconUrl: "https://cdn.rawgit.com/fabric8io/fabric8-devops/master/hubot-letschat/src/main/fabric8/icon.png"
          fabric8.io/app-menu: "development"
          fabric8.io/git-commit: "2b9f7ce19493fe6d18392ac4f4be16f5e1a76fa3"
          fabric8.io/git-branch: "release-v2.2.311"
        finalizers: []
        labels:
          provider: "fabric8"
          project: "hubot-letschat"
          version: "2.2.311"
          group: "io.fabric8.devops.apps"
          expose: "true"
        name: "hubot"
        ownerReferences: []
      spec:
        deprecatedPublicIPs: []
        externalIPs: []
        loadBalancerSourceRanges: []
        ports:
        - port: 80
          protocol: "TCP"
          targetPort: 8080
        selector:
          project: "hubot-letschat"
          provider: "fabric8"
          group: "io.fabric8.devops.apps"
    - apiVersion: "v1"
      kind: "Service"
      metadata:
        annotations:
          fabric8.io/git-commit: "2b9f7ce19493fe6d18392ac4f4be16f5e1a76fa3"
          fabric8.io/iconUrl: "https://cdn.rawgit.com/fabric8io/fabric8-devops/master/hubot-letschat/src/main/fabric8/icon.png"
          fabric8.io/git-branch: "release-v2.2.311"
        finalizers: []
        labels:
          project: "hubot-letschat"
          provider: "fabric8"
          version: "2.2.311"
          group: "io.fabric8.devops.apps"
        name: "hubot-jenkins-notifier"
        ownerReferences: []
      spec:
        deprecatedPublicIPs: []
        externalIPs: []
        loadBalancerSourceRanges: []
        ports:
        - port: 5555
          protocol: "TCP"
          targetPort: 5555
        selector:
          project: "hubot-letschat"
          provider: "fabric8"
          group: "io.fabric8.devops.apps"
    - apiVersion: "v1"
      kind: "Service"
      metadata:
        annotations:
          fabric8.io/git-commit: "2b9f7ce19493fe6d18392ac4f4be16f5e1a76fa3"
          fabric8.io/iconUrl: "https://cdn.rawgit.com/fabric8io/fabric8-devops/master/hubot-notifier/src/main/fabric8/icon.png"
          fabric8.io/git-branch: "release-v2.2.311"
        finalizers: []
        labels:
          provider: "fabric8"
          project: "hubot-notifier"
          version: "2.2.311"
          group: "io.fabric8.devops.apps"
        name: "hubot-notifier"
        ownerReferences: []
      spec:
        deprecatedPublicIPs: []
        externalIPs: []
        loadBalancerSourceRanges: []
        ports:
        - name: "jolokia"
          port: 8778
          protocol: "TCP"
          targetPort: 8778
        selector:
          project: "hubot-notifier"
          provider: "fabric8"
          group: "io.fabric8.devops.apps"
    - apiVersion: "v1"
      kind: "Service"
      metadata:
        annotations:
          fabric8.io/app-menu: "development"
          fabric8.io/git-commit: "2b9f7ce19493fe6d18392ac4f4be16f5e1a76fa3"
          fabric8.io/iconUrl: "https://cdn.rawgit.com/fabric8io/fabric8-devops/master/letschat/src/main/fabric8/icon.png"
          fabric8.io/git-branch: "release-v2.2.311"
        finalizers: []
        labels:
          provider: "fabric8"
          expose: "true"
          project: "letschat"
          version: "2.2.311"
          group: "io.fabric8.devops.apps"
        name: "letschat"
        ownerReferences: []
      spec:
        deprecatedPublicIPs: []
        externalIPs: []
        loadBalancerSourceRanges: []
        ports:
        - port: 80
          targetPort: 5000
        selector:
          name: "letschat"
          project: "letschat"
          provider: "fabric8"
          group: "io.fabric8.devops.apps"
    - apiVersion: "v1"
      kind: "ConfigMap"
      metadata:
        annotations:
          fabric8.hubot-letschat/summary: "[Hubot](http://hubot.github.com) chat bot for\
            \ Lets Chat"
          description: "Chat bot app using [Hubot](https://hubot.github.com/) for [Lets\
            \ Chat](http://sdelements.github.io/lets-chat/)"
          fabric8.hubot-letschat/iconUrl: "https://cdn.rawgit.com/fabric8io/fabric8-devops/master/hubot-letschat/src/main/fabric8/icon.png"
          fabric8.io/json-schema: "{\n  \"type\" : \"object\",\n  \"properties\" : {\n\
            \    \"HUBOT_GRAFANA_API_KEY\" : {\n      \"type\" : \"string\",\n      \"\
            description\" : \"API key for a particular user\"\n    },\n    \"LETSCHAT_HUBOT_PASSWORD\"\
            \ : {\n      \"type\" : \"string\",\n      \"description\" : \"The password\
            \ for the Fabric8 Hubot bot\",\n      \"default\" : \"RedHat$1\"\n    },\n\
            \    \"HUBOT_GRAFANA_HOST\" : {\n      \"type\" : \"string\",\n      \"description\"\
            \ : \"Host for your Grafana 2.0 install, e.g. 'http://play.grafana.org'\"\n\
            \    },\n    \"LETSCHAT_DEFAULT_ROOMS\" : {\n      \"type\" : \"string\",\n\
            \      \"description\" : \"Comma delimited list of rooms for hubot to join\
            \ on startup\",\n      \"default\" : \"fabric8_default\"\n    },\n    \"HUBOT_JENKINS_URL\"\
            \ : {\n      \"type\" : \"string\",\n      \"description\" : \"The URL for\
            \ the Jenkins CI server\",\n      \"default\" : \"http://jenkins.default.svc.cluster.local\"\
            \n    },\n    \"LETSCHAT_HUBOT_USERNAME\" : {\n      \"type\" : \"string\"\
            ,\n      \"description\" : \"The username for the Fabric8 Hubot bot\",\n \
            \     \"default\" : \"fabric8\"\n    },\n    \"LETSCHAT_HUBOT_SCRIPTS\" :\
            \ {\n      \"type\" : \"string\",\n      \"description\" : \"Coffeescripts\
            \ for hubot\",\n      \"default\" : \"https://github.com/fabric8io/fabric8-hubot-scripts.git\"\
            \n    }\n  }\n}"
        finalizers: []
        labels:
          provider: "fabric8"
          project: "hubot-letschat"
          version: "2.2.311"
          group: "io.fabric8.devops.apps"
        name: "hubot-letschat"
        ownerReferences: []
      data:
        hubot-grafana-host: ""
        hubot-grafana-api-key: ""
        hubot-jenkins-url: "http://jenkins"
        hubot-jenkins-auth: ""
        letschat-hubot-username: "fabric8"
        letschat-hubot-password: "RedHat$1"
        letschat-default-rooms: "fabric8_default"
    - apiVersion: "v1"
      kind: "ConfigMap"
      metadata:
        annotations:
          fabric8.hubot-notifier/summary: "Watches the OpenShift environment and notifies\
            \ Hubot of events such as builds completing or failing"
          description: "Watches the OpenShift environment and notifies Hubot of events\
            \ such as builds completing or failing."
          fabric8.hubot-notifier/iconUrl: "https://cdn.rawgit.com/fabric8io/fabric8-devops/master/hubot-notifier/src/main/fabric8/icon.png"
          fabric8.io/json-schema: "{\n  \"type\" : \"object\",\n  \"properties\" : {\n\
            \    \"HUBOT_USERNAME\" : {\n      \"type\" : \"string\",\n      \"description\"\
            \ : \"The username for Hubot to login to the chat service\",\n      \"default\"\
            \ : \"fabric8\"\n    },\n    \"KUBERNETES_DNS_DOMAIN\" : {\n      \"type\"\
            \ : \"string\",\n      \"description\" : \"The DNS domain added to the serviceName.namespace.svc.\
            \ to make the DNS name\",\n      \"default\" : \"cluster.local\"\n    },\n\
            \    \"HUBOT_PASSWORD\" : {\n      \"type\" : \"string\",\n      \"description\"\
            \ : \"The password for Hubot to login to the chat service\",\n      \"default\"\
            \ : \"RedHat$1\"\n    }\n  }\n}"
        finalizers: []
        labels:
          provider: "fabric8"
          project: "hubot-notifier"
          version: "2.2.311"
          group: "io.fabric8.devops.apps"
        name: "hubot-notifier"
        ownerReferences: []
      data:
        hubot-password: "RedHat$1"
        kubernetes-dns-domain: "cluster.local"
        hubot-username: "fabric8"
    - apiVersion: "v1"
      kind: "ConfigMap"
      metadata:
        annotations:
          fabric8.io/json-schema: "{\n  \"type\" : \"object\",\n  \"properties\" : {\n\
            \    \"HUBOT_USERNAME\" : {\n      \"type\" : \"string\",\n      \"description\"\
            \ : \"The username for Hubot to login to the chat service\",\n      \"default\"\
            \ : \"fabric8\"\n    },\n    \"LETSCHAT_DEFAULT_ROOMS\" : {\n      \"type\"\
            \ : \"string\",\n      \"description\" : \"Default rooms to create and for\
            \ hubot to join\",\n      \"default\" : \"fabric8_default\"\n    },\n    \"\
            HUBOT_PASSWORD\" : {\n      \"type\" : \"string\",\n      \"description\"\
            \ : \"The password for Hubot to login to the chat service\",\n      \"default\"\
            \ : \"RedHat$1\"\n    }\n  }\n}"
        finalizers: []
        labels:
          name: "letschat"
          provider: "fabric8"
          project: "letschat"
          version: "2.2.311"
          group: "io.fabric8.devops.apps"
        name: "letschat"
        ownerReferences: []
      data:
        hubot-password: "RedHat$1"
        hubot-username: "fabric8"
        letschat-default-rooms: "fabric8_default"
        hubot-token: ""
    - apiVersion: "extensions/v1beta1"
      kind: "Deployment"
      metadata:
        annotations:
          fabric8.io/iconUrl: "https://cdn.rawgit.com/fabric8io/fabric8-devops/master/hubot-letschat/src/main/fabric8/icon.png"
          fabric8.io/git-commit: "2b9f7ce19493fe6d18392ac4f4be16f5e1a76fa3"
          fabric8.io/git-branch: "release-v2.2.311"
          fabric8.io/metrics-path: "dashboard/file/kubernetes-pods.json/?var-project=hubot-letschat&var-version=2.2.311"
        finalizers: []
        labels:
          provider: "fabric8"
          project: "hubot-letschat"
          version: "2.2.311"
          group: "io.fabric8.devops.apps"
        name: "hubot-letschat"
        ownerReferences: []
      spec:
        replicas: 1
        selector:
          matchExpressions: []
          matchLabels:
            provider: "fabric8"
            project: "hubot-letschat"
            group: "io.fabric8.devops.apps"
        template:
          metadata:
            annotations:
              fabric8.io/iconUrl: "https://cdn.rawgit.com/fabric8io/fabric8-devops/master/hubot-letschat/src/main/fabric8/icon.png"
              fabric8.io/git-commit: "2b9f7ce19493fe6d18392ac4f4be16f5e1a76fa3"
              fabric8.io/git-branch: "release-v2.2.311"
              fabric8.io/metrics-path: "dashboard/file/kubernetes-pods.json/?var-project=hubot-letschat&var-version=2.2.311"
            finalizers: []
            labels:
              provider: "fabric8"
              project: "hubot-letschat"
              version: "2.2.311"
              group: "io.fabric8.devops.apps"
            ownerReferences: []
          spec:
            containers:
            - args: []
              command: []
              env:
              - name: "KUBERNETES_NAMESPACE"
                valueFrom:
                  fieldRef:
                    fieldPath: "metadata.namespace"
              - name: "LETSCHAT_HUBOT_USERNAME"
                valueFrom:
                  configMapKeyRef:
                    key: "letschat-hubot-username"
                    name: "hubot-letschat"
              - name: "LETSCHAT_HUBOT_PASSWORD"
                valueFrom:
                  configMapKeyRef:
                    key: "letschat-hubot-password"
                    name: "hubot-letschat"
              - name: "HUBOT_JENKINS_URL"
                valueFrom:
                  configMapKeyRef:
                    key: "hubot-jenkins-url"
                    name: "hubot-letschat"
              - name: "HUBOT_JENKINS_AUTH"
                valueFrom:
                  configMapKeyRef:
                    key: "hubot-jenkins-auth"
                    name: "hubot-letschat"
              - name: "HUBOT_LCB_ROOMS"
                valueFrom:
                  configMapKeyRef:
                    key: "letschat-default-rooms"
                    name: "hubot-letschat"
              - name: "HUBOT_GRAFANA_HOST"
                valueFrom:
                  configMapKeyRef:
                    key: "hubot-grafana-host"
                    name: "hubot-letschat"
              - name: "HUBOT_GRAFANA_API_KEY"
                valueFrom:
                  configMapKeyRef:
                    key: "hubot-grafana-api-key"
                    name: "hubot-letschat"
              image: "fabric8/hubot-letschat:v1.0.0"
              name: "hubot-letschat"
              ports:
              - containerPort: 8080
                name: "http"
              resources:
                limits:
                  cpu: "0"
                  memory: "0"
                requests:
                  cpu: "0"
                  memory: "0"
              volumeMounts: []
            imagePullSecrets: []
            nodeSelector: {}
            volumes: []
    - apiVersion: "extensions/v1beta1"
      kind: "Deployment"
      metadata:
        annotations:
          fabric8.io/iconUrl: "https://cdn.rawgit.com/fabric8io/fabric8-devops/master/hubot-notifier/src/main/fabric8/icon.png"
          fabric8.io/git-commit: "2b9f7ce19493fe6d18392ac4f4be16f5e1a76fa3"
          fabric8.io/git-branch: "release-v2.2.311"
          fabric8.io/metrics-path: "dashboard/file/kubernetes-pods.json/?var-project=hubot-notifier&var-version=2.2.311"
        finalizers: []
        labels:
          provider: "fabric8"
          project: "hubot-notifier"
          version: "2.2.311"
          group: "io.fabric8.devops.apps"
        name: "hubot-notifier"
        ownerReferences: []
      spec:
        replicas: 1
        selector:
          matchExpressions: []
          matchLabels:
            provider: "fabric8"
            project: "hubot-notifier"
            group: "io.fabric8.devops.apps"
        template:
          metadata:
            annotations:
              fabric8.io/iconUrl: "https://cdn.rawgit.com/fabric8io/fabric8-devops/master/hubot-notifier/src/main/fabric8/icon.png"
              fabric8.io/git-commit: "2b9f7ce19493fe6d18392ac4f4be16f5e1a76fa3"
              fabric8.io/git-branch: "release-v2.2.311"
              fabric8.io/metrics-path: "dashboard/file/kubernetes-pods.json/?var-project=hubot-notifier&var-version=2.2.311"
            finalizers: []
            labels:
              provider: "fabric8"
              project: "hubot-notifier"
              version: "2.2.311"
              group: "io.fabric8.devops.apps"
            ownerReferences: []
          spec:
            containers:
            - args: []
              command: []
              env:
              - name: "HUBOT_KUBERNETES_ROOM"
                value: "#fabric8_${namespace}"
              - name: "HUBOT_USERNAME"
                valueFrom:
                  configMapKeyRef:
                    key: "hubot-username"
                    name: "hubot-notifier"
              - name: "HUBOT_PASSWORD"
                valueFrom:
                  configMapKeyRef:
                    key: "hubot-password"
                    name: "hubot-notifier"
              - name: "KUBERNETES_NAMESPACE"
                valueFrom:
                  fieldRef:
                    fieldPath: "metadata.namespace"
              - name: "HUBOT_BUILD_ROOM"
                value: "#fabric8_${namespace}"
              image: "fabric8/hubot-notifier:2.2.311"
              imagePullPolicy: "IfNotPresent"
              name: "hubot-notifier"
              ports:
              - containerPort: 8778
                name: "jolokia"
              resources:
                limits:
                  cpu: "0"
                  memory: "0"
                requests:
                  cpu: "0"
                  memory: "0"
              securityContext:
                privileged: false
              volumeMounts: []
            imagePullSecrets: []
            nodeSelector: {}
            serviceAccountName: "fabric8"
            volumes: []
    - apiVersion: "extensions/v1beta1"
      kind: "Deployment"
      metadata:
        annotations:
          fabric8.io/git-commit: "2b9f7ce19493fe6d18392ac4f4be16f5e1a76fa3"
          fabric8.io/iconUrl: "https://cdn.rawgit.com/fabric8io/fabric8-devops/master/letschat/src/main/fabric8/icon.png"
          fabric8.io/git-branch: "release-v2.2.311"
          fabric8.io/metrics-path: "dashboard/file/kubernetes-pods.json/?var-project=letschat&var-version=2.2.311"
        finalizers: []
        labels:
          name: "letschat"
          provider: "fabric8"
          project: "letschat"
          version: "2.2.311"
          group: "io.fabric8.devops.apps"
        name: "letschat"
        ownerReferences: []
      spec:
        replicas: 1
        selector:
          matchExpressions: []
          matchLabels:
            name: "letschat"
            project: "letschat"
            provider: "fabric8"
            group: "io.fabric8.devops.apps"
        template:
          metadata:
            annotations:
              fabric8.io/git-commit: "2b9f7ce19493fe6d18392ac4f4be16f5e1a76fa3"
              fabric8.io/iconUrl: "https://cdn.rawgit.com/fabric8io/fabric8-devops/master/letschat/src/main/fabric8/icon.png"
              fabric8.io/git-branch: "release-v2.2.311"
              fabric8.io/metrics-path: "dashboard/file/kubernetes-pods.json/?var-project=letschat&var-version=2.2.311"
            finalizers: []
            labels:
              name: "letschat"
              provider: "fabric8"
              project: "letschat"
              version: "2.2.311"
              group: "io.fabric8.devops.apps"
            name: "letschat"
            ownerReferences: []
          spec:
            containers:
            - args: []
              command: []
              env: []
              image: "mongo"
              name: "letschat-mongodb"
              ports:
              - containerPort: 27017
                protocol: "TCP"
              volumeMounts: []
            - args: []
              command: []
              env:
              - name: "LETSCHAT_CREATE_HUBOT_USER"
                value: "true"
              - name: "LETSCHAT_HUBOT_TOKEN"
                valueFrom:
                  configMapKeyRef:
                    key: "hubot-token"
                    name: "letschat"
              - name: "LETSCHAT_HUBOT_PASSWORD"
                valueFrom:
                  configMapKeyRef:
                    key: "hubot-password"
                    name: "letschat"
              - name: "LETSCHAT_HUBOT_USERNAME"
                valueFrom:
                  configMapKeyRef:
                    key: "hubot-username"
                    name: "letschat"
              - name: "LETSCHAT_HUBOT_EMAIL"
                value: "fabric8-admin@googlegroups.com"
              - name: "LETSCHAT_HUBOT_FIRST_NAME"
                value: "fabric8"
              - name: "LETSCHAT_HUBOT_LAST_NAME"
                value: "rocks"
              - name: "LETSCHAT_HUBOT_DISPLAY_NAME"
                value: "fabric8"
              - name: "LETSCHAT_DEFAULT_ROOMS"
                valueFrom:
                  configMapKeyRef:
                    key: "letschat-default-rooms"
                    name: "letschat"
              - name: "LCB_NOROBOTS"
                value: "false"
              - name: "LCB_FILES_ENABLE"
                value: "true"
              - name: "LCB_DATABASE_URI"
                value: "mongodb://127.0.0.1:27017/letschat"
              image: "fabric8/lets-chat:2.2.311"
              name: "letschat"
              ports:
              - containerPort: 5000
                name: "commplex-main"
                protocol: "TCP"
              volumeMounts: []
            imagePullSecrets: []
            nodeSelector: {}
            volumes: []
    parameters: []
