{
  "apiVersion": "v1",
  "items": [
      {
          "apiVersion": "extensions/v1beta1",
          "kind": "Deployment",
          "metadata": {
              "annotations": {
                  "deployment.kubernetes.io/revision": "1"
              },
              "creationTimestamp": "2018-11-28T18:29:16Z",
              "generation": 1,
              "labels": {
                  "app": "che"
              },
              "name": "che",
              "namespace": "che",
              "resourceVersion": "39649",
              "selfLink": "/apis/extensions/v1beta1/namespaces/che/deployments/che",
              "uid": "8371dca9-f33b-11e8-a9ee-f26345eaf352"
          },
          "spec": {
              "progressDeadlineSeconds": 600,
              "replicas": 1,
              "revisionHistoryLimit": 2,
              "selector": {
                  "matchLabels": {
                      "app": "che"
                  }
              },
              "strategy": {
                  "type": "Recreate"
              },
              "template": {
                  "metadata": {
                      "creationTimestamp": null,
                      "labels": {
                          "app": "che"
                      }
                  },
                  "spec": {
                      "containers": [
                          {
                              "env": [
                                  {
                                      "name": "CHE_HOST",
                                      "valueFrom": {
                                          "configMapKeyRef": {
                                              "key": "CHE_HOST",
                                              "name": "che"
                                          }
                                      }
                                  },
                                  {
                                      "name": "CHE_PORT",
                                      "valueFrom": {
                                          "configMapKeyRef": {
                                              "key": "CHE_PORT",
                                              "name": "che"
                                          }
                                      }
                                  },
                                  {
                                      "name": "CHE_API",
                                      "valueFrom": {
                                          "configMapKeyRef": {
                                              "key": "CHE_API",
                                              "name": "che"
                                          }
                                      }
                                  },
                                  {
                                      "name": "CHE_WEBSOCKET_ENDPOINT",
                                      "valueFrom": {
                                          "configMapKeyRef": {
                                              "key": "CHE_WEBSOCKET_ENDPOINT",
                                              "name": "che"
                                          }
                                      }
                                  },
                                  {
                                      "name": "CHE_DEBUG_SERVER",
                                      "valueFrom": {
                                          "configMapKeyRef": {
                                              "key": "CHE_DEBUG_SERVER",
                                              "name": "che"
                                          }
                                      }
                                  },
                                  {
                                      "name": "CHE_INFRASTRUCTURE_ACTIVE",
                                      "valueFrom": {
                                          "configMapKeyRef": {
                                              "key": "CHE_INFRASTRUCTURE_ACTIVE",
                                              "name": "che"
                                          }
                                      }
                                  },
                                  {
                                      "name": "CHE_INFRA_KUBERNETES_INGRESS_DOMAIN",
                                      "valueFrom": {
                                          "configMapKeyRef": {
                                              "key": "CHE_INFRA_KUBERNETES_INGRESS_DOMAIN",
                                              "name": "che"
                                          }
                                      }
                                  },
                                  {
                                      "name": "CHE_INFRA_KUBERNETES_BOOTSTRAPPER_BINARY__URL",
                                      "valueFrom": {
                                          "configMapKeyRef": {
                                              "key": "CHE_INFRA_KUBERNETES_BOOTSTRAPPER_BINARY__URL",
                                              "name": "che"
                                          }
                                      }
                                  },
                                  {
                                      "name": "CHE_INFRA_KUBERNETES_MACHINE__START__TIMEOUT__MIN",
                                      "valueFrom": {
                                          "configMapKeyRef": {
                                              "key": "CHE_INFRA_KUBERNETES_MACHINE__START__TIMEOUT__MIN",
                                              "name": "che"
                                          }
                                      }
                                  },
                                  {
                                      "name": "CHE_INFRA_KUBERNETES_MASTER__URL",
                                      "valueFrom": {
                                          "configMapKeyRef": {
                                              "key": "CHE_INFRA_KUBERNETES_MASTER__URL",
                                              "name": "che"
                                          }
                                      }
                                  },
                                  {
                                      "name": "CHE_INFRA_KUBERNETES_PVC_STRATEGY",
                                      "valueFrom": {
                                          "configMapKeyRef": {
                                              "key": "CHE_INFRA_KUBERNETES_PVC_STRATEGY",
                                              "name": "che"
                                          }
                                      }
                                  },
                                  {
                                      "name": "CHE_INFRA_KUBERNETES_PVC_PRECREATE__SUBPATHS",
                                      "valueFrom": {
                                          "configMapKeyRef": {
                                              "key": "CHE_INFRA_KUBERNETES_PVC_PRECREATE__SUBPATHS",
                                              "name": "che"
                                          }
                                      }
                                  },
                                  {
                                      "name": "CHE_INFRA_KUBERNETES_POD_SECURITY__CONTEXT_RUN__AS__USER",
                                      "valueFrom": {
                                          "configMapKeyRef": {
                                              "key": "CHE_INFRA_KUBERNETES_POD_SECURITY__CONTEXT_RUN__AS__USER",
                                              "name": "che"
                                          }
                                      }
                                  },
                                  {
                                      "name": "CHE_INFRA_KUBERNETES_POD_SECURITY__CONTEXT_FS__GROUP",
                                      "valueFrom": {
                                          "configMapKeyRef": {
                                              "key": "CHE_INFRA_KUBERNETES_POD_SECURITY__CONTEXT_FS__GROUP",
                                              "name": "che"
                                          }
                                      }
                                  },
                                  {
                                      "name": "JAVA_OPTS",
                                      "valueFrom": {
                                          "configMapKeyRef": {
                                              "key": "JAVA_OPTS",
                                              "name": "che"
                                          }
                                      }
                                  },
                                  {
                                      "name": "CHE_INFRA_KUBERNETES_TRUST__CERTS",
                                      "valueFrom": {
                                          "configMapKeyRef": {
                                              "key": "CHE_INFRA_KUBERNETES_TRUST__CERTS",
                                              "name": "che"
                                          }
                                      }
                                  },
                                  {
                                      "name": "CHE_INFRA_KUBERNETES_TLS__ENABLED",
                                      "valueFrom": {
                                          "configMapKeyRef": {
                                              "key": "CHE_INFRA_KUBERNETES_TLS__ENABLED",
                                              "name": "che"
                                          }
                                      }
                                  },
                                  {
                                      "name": "CHE_INFRA_KUBERNETES_TLS__SECRET",
                                      "valueFrom": {
                                          "configMapKeyRef": {
                                              "key": "CHE_INFRA_KUBERNETES_TLS__SECRET",
                                              "name": "che"
                                          }
                                      }
                                  },
                                  {
                                      "name": "CHE_INFRA_KUBERNETES_NAMESPACE",
                                      "valueFrom": {
                                          "configMapKeyRef": {
                                              "key": "CHE_INFRA_KUBERNETES_NAMESPACE",
                                              "name": "che"
                                          }
                                      }
                                  },
                                  {
                                      "name": "CHE_INFRA_KUBERNETES_SERVICE__ACCOUNT__NAME",
                                      "valueFrom": {
                                          "configMapKeyRef": {
                                              "key": "CHE_INFRA_KUBERNETES_SERVICE__ACCOUNT__NAME",
                                              "name": "che"
                                          }
                                      }
                                  },
                                  {
                                      "name": "CHE_LOCAL_CONF_DIR",
                                      "valueFrom": {
                                          "configMapKeyRef": {
                                              "key": "CHE_LOCAL_CONF_DIR",
                                              "name": "che"
                                          }
                                      }
                                  },
                                  {
                                      "name": "CHE_LOGS_DIR",
                                      "valueFrom": {
                                          "configMapKeyRef": {
                                              "key": "CHE_LOGS_DIR",
                                              "name": "che"
                                          }
                                      }
                                  },
                                  {
                                      "name": "CHE_LOG_LEVEL",
                                      "valueFrom": {
                                          "configMapKeyRef": {
                                              "key": "CHE_LOG_LEVEL",
                                              "name": "che"
                                          }
                                      }
                                  },
                                  {
                                      "name": "CHE_MULTIUSER",
                                      "valueFrom": {
                                          "configMapKeyRef": {
                                              "key": "CHE_MULTIUSER",
                                              "name": "che"
                                          }
                                      }
                                  },
                                  {
                                      "name": "CHE_OAUTH_GITHUB_CLIENTID",
                                      "valueFrom": {
                                          "configMapKeyRef": {
                                              "key": "CHE_OAUTH_GITHUB_CLIENTID",
                                              "name": "che"
                                          }
                                      }
                                  },
                                  {
                                      "name": "CHE_OAUTH_GITHUB_CLIENTSECRET",
                                      "valueFrom": {
                                          "configMapKeyRef": {
                                              "key": "CHE_OAUTH_GITHUB_CLIENTSECRET",
                                              "name": "che"
                                          }
                                      }
                                  },
                                  {
                                      "name": "CHE_PREDEFINED_STACKS_RELOAD__ON__START",
                                      "valueFrom": {
                                          "configMapKeyRef": {
                                              "key": "CHE_PREDEFINED_STACKS_RELOAD__ON__START",
                                              "name": "che"
                                          }
                                      }
                                  },
                                  {
                                      "name": "CHE_WORKSPACE_AUTO_START",
                                      "valueFrom": {
                                          "configMapKeyRef": {
                                              "key": "CHE_WORKSPACE_AUTO_START",
                                              "name": "che"
                                          }
                                      }
                                  },
                                  {
                                      "name": "CHE_INFRA_KUBERNETES_INGRESS_ANNOTATIONS__JSON",
                                      "valueFrom": {
                                          "configMapKeyRef": {
                                              "key": "CHE_INFRA_KUBERNETES_INGRESS_ANNOTATIONS__JSON",
                                              "name": "che"
                                          }
                                      }
                                  },
                                  {
                                      "name": "OPENSHIFT_KUBE_PING_NAMESPACE",
                                      "valueFrom": {
                                          "fieldRef": {
                                              "apiVersion": "v1",
                                              "fieldPath": "metadata.namespace"
                                          }
                                      }
                                  },
                                  {
                                      "name": "CHE_INFRA_KUBERNETES_SERVER__STRATEGY",
                                      "valueFrom": {
                                          "configMapKeyRef": {
                                              "key": "CHE_INFRA_KUBERNETES_SERVER__STRATEGY",
                                              "name": "che"
                                          }
                                      }
                                  },
                                  {
                                      "name": "CHE_LOGS_APPENDERS_IMPL",
                                      "valueFrom": {
                                          "configMapKeyRef": {
                                              "key": "CHE_LOGS_APPENDERS_IMPL",
                                              "name": "che"
                                          }
                                      }
                                  },
                                  {
                                      "name": "CHE_LOGGER_CONFIG",
                                      "valueFrom": {
                                          "configMapKeyRef": {
                                              "key": "CHE_LOGGER_CONFIG",
                                              "name": "che"
                                          }
                                      }
                                  },
                                  {
                                      "name": "CHE_WORKSPACE_HTTP__PROXY",
                                      "valueFrom": {
                                          "configMapKeyRef": {
                                              "key": "CHE_WORKSPACE_HTTP__PROXY",
                                              "name": "che"
                                          }
                                      }
                                  },
                                  {
                                      "name": "CHE_WORKSPACE_HTTPS__PROXY",
                                      "valueFrom": {
                                          "configMapKeyRef": {
                                              "key": "CHE_WORKSPACE_HTTPS__PROXY",
                                              "name": "che"
                                          }
                                      }
                                  },
                                  {
                                      "name": "CHE_WORKSPACE_NO__PROXY",
                                      "valueFrom": {
                                          "configMapKeyRef": {
                                              "key": "CHE_WORKSPACE_NO__PROXY",
                                              "name": "che"
                                          }
                                      }
                                  }
                              ],
                              "image": "quay.io/eclipse/che-server:nightly",
                              "imagePullPolicy": "Always",
                              "livenessProbe": {
                                  "failureThreshold": 3,
                                  "httpGet": {
                                      "path": "/api/system/state",
                                      "port": 8080,
                                      "scheme": "HTTP"
                                  },
                                  "initialDelaySeconds": 120,
                                  "periodSeconds": 10,
                                  "successThreshold": 1,
                                  "timeoutSeconds": 10
                              },
                              "name": "che",
                              "ports": [
                                  {
                                      "containerPort": 8080,
                                      "name": "http",
                                      "protocol": "TCP"
                                  },
                                  {
                                      "containerPort": 8000,
                                      "name": "http-debug",
                                      "protocol": "TCP"
                                  },
                                  {
                                      "containerPort": 8888,
                                      "name": "jgroups-ping",
                                      "protocol": "TCP"
                                  }
                              ],
                              "readinessProbe": {
                                  "failureThreshold": 3,
                                  "httpGet": {
                                      "path": "/api/system/state",
                                      "port": 8080,
                                      "scheme": "HTTP"
                                  },
                                  "initialDelaySeconds": 15,
                                  "periodSeconds": 10,
                                  "successThreshold": 1,
                                  "timeoutSeconds": 60
                              },
                              "resources": {
                                  "limits": {
                                      "memory": "600Mi"
                                  },
                                  "requests": {
                                      "memory": "256Mi"
                                  }
                              },
                              "terminationMessagePath": "/dev/termination-log",
                              "terminationMessagePolicy": "File",
                              "volumeMounts": [
                                  {
                                      "mountPath": "/data",
                                      "name": "che-data-volume"
                                  }
                              ]
                          }
                      ],
                      "dnsPolicy": "ClusterFirst",
                      "initContainers": [
                          {
                              "command": [
                                  "chmod",
                                  "777",
                                  "/data"
                              ],
                              "image": "busybox",
                              "imagePullPolicy": "Always",
                              "name": "fmp-volume-permission",
                              "resources": {},
                              "terminationMessagePath": "/dev/termination-log",
                              "terminationMessagePolicy": "File",
                              "volumeMounts": [
                                  {
                                      "mountPath": "/data",
                                      "name": "che-data-volume"
                                  }
                              ]
                          }
                      ],
                      "restartPolicy": "Always",
                      "schedulerName": "default-scheduler",
                      "securityContext": {},
                      "serviceAccount": "che",
                      "serviceAccountName": "che",
                      "terminationGracePeriodSeconds": 30,
                      "volumes": [
                          {
                              "name": "che-data-volume",
                              "persistentVolumeClaim": {
                                  "claimName": "che-data-volume"
                              }
                          }
                      ]
                  }
              }
          },
          "status": {
              "availableReplicas": 1,
              "conditions": [
                  {
                      "lastTransitionTime": "2018-11-28T18:30:31Z",
                      "lastUpdateTime": "2018-11-28T18:30:31Z",
                      "message": "Deployment has minimum availability.",
                      "reason": "MinimumReplicasAvailable",
                      "status": "True",
                      "type": "Available"
                  },
                  {
                      "lastTransitionTime": "2018-11-28T18:29:16Z",
                      "lastUpdateTime": "2018-11-28T18:30:31Z",
                      "message": "ReplicaSet \"che-84867c798c\" has successfully progressed.",
                      "reason": "NewReplicaSetAvailable",
                      "status": "True",
                      "type": "Progressing"
                  }
              ],
              "observedGeneration": 1,
              "readyReplicas": 1,
              "replicas": 1,
              "updatedReplicas": 1
          }
      }
  ],
  "kind": "List",
  "metadata": {
      "resourceVersion": "",
      "selfLink": ""
  }
}
