{
  "apiVersion" : "v1",
  "kind" : "Template",
  "labels" : { },
  "metadata" : {
    "annotations" : {
      "description" : "Provides _Messaging as a Service_ based on [Apache ActiveMQ](http://activemq.apache.org/)",
      "fabric8.amqbroker/iconUrl" : "https://cdn.rawgit.com/fabric8io/fabric8/master/fabric8-maven-plugin/src/main/resources/icons/activemq.svg",
      "fabric8.amqbroker/summary" : "ActiveMQ Broker",
      "fabric8.fabric8mq/summary" : "Fabric8 MQ Broker",
      "fabric8.fabric8mq/iconUrl" : "https://cdn.rawgit.com/fabric8io/quickstarts/master/apps/fabric8mq/src/main/fabric8/icon.svg",
      "fabric8.messaging/summary" : "Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/",
      "fabric8.messaging/iconUrl" : "https://cdn.rawgit.com/fabric8io/quickstarts/master/app-groups/messaging/src/main/fabric8/icon.svg"
    },
    "labels" : { },
    "name" : "messaging"
  },
  "objects" : [ {
    "apiVersion" : "v1",
    "kind" : "Service",
    "metadata" : {
      "annotations" : { },
      "labels" : {
        "component" : "fabric8MQ",
        "provider" : "fabric8",
        "group" : "fabric8mq"
      },
      "name" : "fabric8mq"
    },
    "spec" : {
      "deprecatedPublicIPs" : [ ],
      "ports" : [ {
        "port" : 6163,
        "protocol" : "TCP",
        "targetPort" : 6194
      } ],
      "selector" : {
        "component" : "fabric8MQ",
        "provider" : "fabric8",
        "group" : "fabric8mq"
      }
    }
  }, {
    "apiVersion" : "v1",
    "kind" : "ReplicationController",
    "metadata" : {
      "annotations" : { },
      "labels" : {
        "component" : "amqbroker",
        "provider" : "fabric8",
        "group" : "amqbroker"
      },
      "name" : "amqbroker"
    },
    "spec" : {
      "replicas" : 1,
      "selector" : {
        "component" : "amqbroker",
        "provider" : "fabric8",
        "group" : "amqbroker"
      },
      "template" : {
        "metadata" : {
          "annotations" : { },
          "labels" : {
            "component" : "amqbroker",
            "provider" : "fabric8",
            "group" : "amqbroker"
          }
        },
        "spec" : {
          "containers" : [ {
            "args" : [ ],
            "command" : [ ],
            "env" : [ {
              "name" : "KUBERNETES_NAMESPACE",
              "valueFrom" : {
                "fieldRef" : {
                  "fieldPath" : "metadata.namespace"
                }
              }
            } ],
            "image" : "docker.io/fabric8/amqbroker:2.2.16",
            "name" : "amqbroker",
            "ports" : [ {
              "containerPort" : 6194,
              "name" : "amq"
            }, {
              "containerPort" : 8778,
              "name" : "jolokia"
            } ],
            "securityContext" : { },
            "volumeMounts" : [ ]
          } ],
          "imagePullSecrets" : [ ],
          "nodeSelector" : { },
          "volumes" : [ ]
        }
      }
    }
  }, {
    "apiVersion" : "v1",
    "kind" : "ReplicationController",
    "metadata" : {
      "annotations" : { },
      "labels" : {
        "component" : "fabric8MQ",
        "provider" : "fabric8",
        "group" : "fabric8mq"
      },
      "name" : "fabric8mq"
    },
    "spec" : {
      "replicas" : 1,
      "selector" : {
        "component" : "fabric8MQ",
        "provider" : "fabric8",
        "group" : "fabric8mq"
      },
      "template" : {
        "metadata" : {
          "annotations" : { },
          "labels" : {
            "component" : "fabric8MQ",
            "provider" : "fabric8",
            "group" : "fabric8mq"
          }
        },
        "spec" : {
          "containers" : [ {
            "args" : [ ],
            "command" : [ ],
            "env" : [ {
              "name" : "KUBERNETES_CLIENT_KEY_FILE",
              "value" : "/etc/secret-volume/admin-key"
            }, {
              "name" : "KUBERNETES_CLIENT_CERTIFICATE_FILE",
              "value" : "/etc/secret-volume/admin-cert"
            }, {
              "name" : "KUBERNETES_TRUST_CERT",
              "value" : "true"
            }, {
              "name" : "KUBERNETES_NAMESPACE",
              "valueFrom" : {
                "fieldRef" : {
                  "fieldPath" : "metadata.namespace"
                }
              }
            } ],
            "image" : "docker.io/fabric8/fabric8mq:2.2.16",
            "name" : "fabric8mq",
            "ports" : [ {
              "containerPort" : 6194,
              "name" : "amq"
            }, {
              "containerPort" : 8778,
              "name" : "jolokia"
            } ],
            "securityContext" : { },
            "volumeMounts" : [ {
              "mountPath" : "/etc/secret-volume",
              "name" : "openshift-cert-secrets",
              "readOnly" : false
            } ]
          } ],
          "imagePullSecrets" : [ ],
          "nodeSelector" : { },
          "serviceAccountName" : "fabric8",
          "volumes" : [ {
            "name" : "openshift-cert-secrets",
            "secret" : {
              "secretName" : "openshift-cert-secrets"
            }
          } ]
        }
      }
    }
  } ],
  "parameters" : [ ]
}