Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
OpenShift Bot
Latest commit 09caf1c Jan 25, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.tito tito init Dec 1, 2017
cmd/origin-web-console
hack Update the release tooling for go 1.10 Sep 5, 2018
images/origin-web-console Rename image to openshift/origin-web-console Nov 17, 2017
pkg bump(github.com/openshift/origin-web-console): 4534d447667d928ed08b8e… Jan 25, 2019
tools Update the release tooling for go 1.10 Sep 5, 2018
vendor bump(*) Aug 1, 2018
.gitignore initial Nov 14, 2017
.release Branch for v3.11 Jun 15, 2018
.travis.yml add travis Nov 14, 2017
LICENSE initial Nov 14, 2017
Makefile
README.md Add vendor instructions to README Apr 6, 2018
glide.lock bump(*) Aug 1, 2018
glide.yaml bump(*) Aug 1, 2018
origin-web-console-server.spec Rename image to openshift/origin-web-console Nov 17, 2017

README.md

OpenShift Web Console Server

The API server for the OpenShift web console, part of the OpenShift application platform.

Build Status

The web console server runs as a pod on the platform. The OpenShift master proxies requests from the web console context root, typically /console/, to the server running in the pod. The pod then serves the static HTML, JavaScript, and CSS files that make up the console.

The web console assets themselves are developed in the origin-web-console repository. They are included in the web console server binary using go-bindata.

Building

To build the binary, run

$ make

To build the RPM and origin-web-console image, run

$ OS_BUILD_ENV_PRESERVE=_output/local/bin hack/env make build-images

Installing the Console

If you use openshift-ansible or run oc cluster up, the console will be installed for you. If you start OpenShift another way, you'll need to install the console template.

Clone the origin repository and edit the file install/origin-web-console/console-config.yaml for your cluster. Then run the commands:

$ oc login -u system:admin
$ oc create namespace openshift-web-console
$ oc process -f install/origin-web-console/console-template.yaml -p "API_SERVER_CONFIG=$(cat install/origin-web-console/console-config.yaml)" | oc apply -n openshift-web-console -f -

Updating Go Tooling

See https://github.com/openshift/release/tree/master/tools/hack/golang for instructions on how to update the Go tooling used by this project.

Vendoring origin-web-console

A Jenkins job automatically vendors the dist files from origin-web-console into this repository periodically. Typically you don't need to manually vendor the console dist, but you might want to build an origin-web-console image with changes that haven't merged.

To vendor the console manually, run grunt build in the origin-web-console repo to build the dist files with your changes, then run make vendor-console to vendor. For example:

$ GIT_REF=master CONSOLE_REPO_PATH=$HOME/git/origin-web-console COMMIT=1 make vendor-console
You can’t perform that action at this time.