{
  "apiVersion" : "v1",
  "kind" : "Template",
  "metadata" : {
    "annotations" : {
      "fabric8.maven-shell/summary" : "Maven Shell is an app that contains java build tools and allows development inside kubernetes",
      "description" : "Maven Shell is an app that contains java build tools and allows development inside kubernetes\n\nYou can ssh into the pod using..\n\n    kubectl exec -ti $(kubectl get pods | grep maven-shell | cut -f 1 -d ' ') bash\n\n\nYou might also want to pin the pod to a single node so that the mounted workspace host volume is reused if the pod is recreated.\n\nTo do this add a label to you nodes and edit the resource to include a node selector..\n\n\n    kubectl label nodes kubernetes-node-5 type=developer\n    kubectl edit rc maven-shell\n\n\nadd node selector to spec..\n\n\n    nodeSelector:\n      type: developer\n",
      "fabric8.maven-shell/iconUrl" : "img/icons/java.svg"
    },
    "labels" : { },
    "name" : "maven-shell"
  },
  "objects" : [ {
    "apiVersion" : "v1",
    "kind" : "ReplicationController",
    "metadata" : {
      "annotations" : {
        "fabric8.io/iconUrl" : "img/icons/java.svg",
        "fabric8.io/git-branch" : "release-v2.2.218",
        "fabric8.io/git-commit" : "d42fba230139578fe9f2b9bee2822a69de648fc6",
        "fabric8.io/build-url" : "http://jenkins.ux.fabric8.io/job/oss-parent/5",
        "fabric8.io/build-id" : "5"
      },
      "labels" : {
        "provider" : "fabric8",
        "project" : "maven-shell",
        "version" : "2.2.218",
        "group" : "io.fabric8.devops.apps"
      },
      "name" : "maven-shell"
    },
    "spec" : {
      "replicas" : 1,
      "selector" : {
        "provider" : "fabric8",
        "project" : "maven-shell",
        "version" : "2.2.218",
        "group" : "io.fabric8.devops.apps"
      },
      "template" : {
        "metadata" : {
          "annotations" : { },
          "labels" : {
            "provider" : "fabric8",
            "project" : "maven-shell",
            "version" : "2.2.218",
            "group" : "io.fabric8.devops.apps"
          }
        },
        "spec" : {
          "containers" : [ {
            "args" : [ ],
            "command" : [ ],
            "env" : [ {
              "name" : "KUBERNETES_NAMESPACE",
              "valueFrom" : {
                "fieldRef" : {
                  "fieldPath" : "metadata.namespace"
                }
              }
            } ],
            "image" : "fabric8/maven-builder:2.2.218",
            "imagePullPolicy" : "IfNotPresent",
            "name" : "maven-shell",
            "ports" : [ ],
            "resources" : {
              "limits" : {
                "cpu" : "0",
                "memory" : "0"
              },
              "requests" : {
                "cpu" : "0",
                "memory" : "0"
              }
            },
            "securityContext" : {
              "privileged" : true
            },
            "volumeMounts" : [ {
              "mountPath" : "/var/run/docker.sock",
              "name" : "data",
              "readOnly" : false
            }, {
              "mountPath" : "/root/.m2",
              "name" : "jenkins-maven-settings",
              "readOnly" : false
            }, {
              "mountPath" : "/root/workspaces",
              "name" : "workspace",
              "readOnly" : false
            } ]
          } ],
          "imagePullSecrets" : [ ],
          "nodeSelector" : { },
          "volumes" : [ {
            "hostPath" : {
              "path" : "/home/maven-shell/workspaces"
            },
            "name" : "workspace"
          }, {
            "name" : "jenkins-maven-settings",
            "secret" : {
              "secretName" : "jenkins-maven-settings"
            }
          }, {
            "hostPath" : {
              "path" : "/var/run/docker.sock"
            },
            "name" : "data"
          } ]
        }
      }
    }
  } ],
  "parameters" : [ ]
}