Prerequisites
  • The installation of Che on OpenShift using the Operator and SSL requires the --tls option.

Procedure

To install Che on OpenShift using the Operator and SSL:

  1. Run the following command:

     $ ./bin/run server:start --platform=openshift --installer=operator --domain=apps.rhpds311.openshift.opentlc.com --tls
      ✔ ✈️  Openshift preflight checklist
        ✔ Verify if oc is installed...done.
        ✔ Verify if openshift is running...done.
        ✔ Verify domain is set...set to apps.rhpds311.openshift.opentlc.com.
      ✔ 🏃‍  Running the Che Operator
        ✔ Copying operator resources...done.
        ✔ Create Namespace (che)...done.
        ✔ Create ServiceAccount che-operator in namespace che...done.
        ✔ Create Role che-operator in namespace che...done.
        ✔ Create RoleBinding che-operator in namespace che...done.
        ✔ Create CRD checlusters.org.eclipse.che...It already exist.
        ✔ Waiting 5 seconds for the new Kubernetes resources to get flushed...done.
        ✔ Create deployment che-operator in namespace che...done.
        ✔ Create Che Cluster eclipse-che in namespace che...done.
      ✔ ✅  Post installation checklist
        ✔ PostgreSQL pod bootstrap
          ✔ scheduling...done.
          ✔ downloading images...done.
          ✔ starting...done.
        ✔ Keycloak pod bootstrap
          ✔ scheduling...done.
          ✔ downloading images...done.
          ✔ starting...done.
        ✔ Che pod bootstrap
          ✔ scheduling...done.
          ✔ downloading images...done.
          ✔ starting...done.
        ✔ Retrieving Che Server URL...https://che-che.apps.rhpds311.openshift.opentlc.com
        ✔ Che status check
    Command server:start has completed successfully.

Here, the link https://che-che.apps.rhpds311.openshift.opentlc.com is now prefixed with HTTPS and Let’s Encrypt has created the certificates.