The Rancher UI
Go to file
Westly Wright d9437d1383
typo
2020-03-03 16:24:55 -07:00
.storybook revert css path change and correctly import scss files in storybook 2020-01-20 10:59:58 -07:00
.vscode Move explorer into cluster 2020-02-20 11:07:14 -07:00
assets Merge branch 'master' into ingress-create 2020-03-03 14:44:16 -07:00
components typo 2020-03-03 16:24:55 -07:00
config Move OPAgatekeeper to cluster group 2020-03-03 16:15:11 -07:00
detail Implement the view, create and edit pages for constraints 2020-03-02 12:43:39 -07:00
edit create ingress 2020-03-03 14:18:58 -07:00
layouts Start bottom tabbed window manager 2020-03-03 13:45:42 -07:00
list Reorganize loading generic vs custom views 2020-02-20 11:11:23 -07:00
middleware Make workloads show up 2020-02-25 13:36:57 -07:00
mixins create workload URL fixed 2020-02-26 12:42:58 -07:00
models Make workloads show up 2020-02-25 13:36:57 -07:00
pages Hide non-preferred API groups 2020-03-03 13:45:29 -07:00
plugins create ingress 2020-03-03 14:18:58 -07:00
scripts Master->latest again 2020-02-20 16:51:04 -07:00
server Dapper CI 2019-09-04 14:55:10 -07:00
shared Implement the view, create and edit pages for constraints 2020-03-02 12:43:39 -07:00
static 193 favicon add 2019-12-05 13:19:37 -07:00
store Add cluster external store for legacy style actions (eg app creation) 2020-03-03 15:59:18 -07:00
stories lint fix 2020-01-23 15:22:09 -07:00
test Lint 2019-11-11 12:29:06 -07:00
utils Hide non-preferred API groups 2020-03-03 13:45:29 -07:00
.ackrc Remove vue-native-websocket, use socket per norman client, typescript support 2019-12-18 17:20:14 -07:00
.dockerignore Service Networking and HealthCheck 2019-10-23 16:10:18 -07:00
.drone.yml Master->latest again 2020-02-20 16:51:04 -07:00
.eslintignore Rearrange for building on CDN 2019-10-22 14:43:26 -07:00
.eslintrc.js Drop typescript 2020-02-20 11:01:21 -07:00
.gitignore Add Cluster and Global Roles pages 2020-02-11 14:37:52 -07:00
Dockerfile Yes dapper 2019-09-04 15:29:31 -07:00
LICENSE License 2019-12-31 15:21:43 -07:00
README.md Bugs 2020-02-26 17:51:21 -07:00
babel.config.js Remove vue-native-websocket, use socket per norman client, typescript support 2019-12-18 17:20:14 -07:00
jsconfig.json Move around things that aren't utils 2019-09-27 22:59:20 -07:00
nuxt.config.js create ingress 2020-03-03 14:18:58 -07:00
package.json API Grouping 2020-02-27 14:40:06 -07:00
yarn.lock new nav 2020-02-24 10:45:31 -07:00

README.md

dashboard

Build Status

Dashboard UI. For the other Rancher UI see rancher/ui.

Build Setup

# install dependencies
$ yarn install

# serve with hot reload at https://localhost:8005
$ API=http://localhost:8005 yarn dev

# build for production and launch server
$ yarn build
$ yarn start

# generate static project
$ yarn generate

Multiple GitHub auth configs

Auth supports multiple GitHub auth URLs and using the appropriate one based on the Host header that a request comes in on. This is particularly useful for development against a server that already has GitHub setup.

In management.cattle.io.v3.authconfig github, add a hostnameToClientId map of Host header value -> GitHub client ID:

hostnameToClientId:
  "localhost:8005": <your GitHub Client ID for localhost:8005>

And then in the core.v1.secret in namespace cattle-global-data called githubconfig-clientsecret, add GitHub client ID -> base64-encoded client secret to the data section:

data:
  clientsecret: <the normal client secret already configured>
  <your client id>: <your base64-encoded client secret for localhost:8005>

License

Copyright (c) 2014-2020 Rancher Labs, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.