tree: 3154e4d7f7bf3296e9994fe63e3918ae391da8fe [path history] [tgz]
  1. .yamllint.yaml
  2. README.md
  3. config.yaml
  4. files/
  5. hooks/
  6. lib/
  7. metadata.yaml
  8. mod/
  9. src/
  10. tox.ini
installers/charm/ng-ui/README.md

NG-UI Charm

How to deploy

juju deploy . # cs:~charmed-osm/ng-ui --channel edge
juju relate ng-ui nbi-k8s

How to scale

    juju scale-application ng-ui 3

How to use certificates

Generate your own certificate if you don't have one already:

sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout ssl_certificate.key -out ssl_certificate.crt
sudo chown $USER:$USER ssl_certificate.key
juju attach-resource ng-ui ssl_certificate=ssl_certificate.crt
juju attach-resource ng-ui ssl_certificate_key=ssl_certificate.key
juju config ng-ui port 443

Config Examples

juju config ng-ui image=opensourcemano/ng-ui:<tag>
juju config ng-ui port=80
juju config server_name=<name>
juju config client_max_body_size=25M