cf webadmin #2

Supports: trusty

Add to new model

Description

An Admin UI for CF


Cloudfoundry Web Admin

This charm deploys an admin interface for a juju deployed cloudfoundry
instance.

Usage

The cloudfoundry charm will soon provide a config option for deploying
this charm as part of cloudfoundry as a whole.

Deploy

Currently, you must deploy it manually after deploying and exposing
cloudfoundry's haproxy:

juju deploy lp:~cf-charmers/charms/trusty/cf-webadmin/trunk cfwa

Relate

Then you must add the necessary relations, which are as follows:

cfwa:nats nats:nats cfwa:orchestrator cloudfoundry:orchestrator cfwa:db mysql:db cfwa:ccdb cc:ccdb cfwa:uaa uaa:uaa cfwa:uaadb uaa:uaadb

You can use the following bash onliner to do this:

for i in nats " nats" " cloudfoundry" ":db mysql" ":ccdb cc" ":uaa uaa:uaa" ":uaadb uaa:uaadb"; do juju add-relation cfwa$i;

A canned copy of the oneliner lives in helpers.sh in the charm source:

. cf-webamin/helpers.sh do-relate cfwa

Login

Now expose the webadmin and get the ip of cfwa:

juju expose webadmin juju status cfwa

Browsing to http://{ip}:8070 should bring you to a login. Use the default cf user
and password to login.


Configuration

repository
(string) Which git repository to install for the admin ui
https://github.com/whitmo/admin-ui.git