8 Commits

Author SHA1 Message Date
Alistair Hey
b4bed58b66 Fix padding on Fn Store Gateway UI
The padding was off on the Gateway UI for the function
Store popup.

I have removed the 0padding css class from this element and left
it on the elements that require it

Signed-off-by: Alistair Hey <alistair@heyal.co.uk>
2020-03-05 15:38:17 +00:00
Alex Ellis
6d8ebc65f1 Deploy basic auth plugin
As part of #1209, this change deploys, but does not enable the
new basic-auth plugin service.

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-06-06 18:54:08 +01:00
Richard Gee
a02e2d2aa2 Consolidate deploy_stack.sh files
Currently there are multiple deploy_stack.sh files and the user has to select the version appropriate to the target architecture so that the correct images are deployed.  Further, the armhf deploy script lacks the basic auth by default scripting that is in the x86_64 version.

This change adds a case/select to deploy_stack.sh that will determine the hardware architecture and select the appropriate docker-compose file.

The deploy_stack.armhf.sh is also changed, rather than deleted, so that existing references are still valid.

Signed-off-by: Richard Gee <richard@technologee.co.uk>
2018-12-25 11:25:18 +00:00
Alex Ellis (VMware)
6b7f2fc0a1 Enable basic-auth by default
The deployment script will enable basic-auth by default to help
avoid people deploying to a public IP with no protection from
malicious actors.

- In deploy_stash.sh /dev/random can hang on some systems, so using
  urandom will give a better experience, if less "random" data.
  For the purposes of creating an initial basic auth password this
  is sufficient.
- Alpine Linux does not have the shasum command, but sha256sum.
- Tested on MacOS with and without --no-auth flag.
- Does not apply for armhf or powershell.

BASIC_AUTH env-var added by Vivek Syngh @viveksyngh

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-07-16 12:50:08 +01:00
John McCabe
b2e51e5dad Check for docker in linux deploy_stack scripts
This commit updates the linux (both ARM and x86) deploy_stack scripts to
check for the availability of the Docker command and print the same
error returned by the PS1 script if not found.

Signed-off-by: John McCabe <john@johnmccabe.net>
2017-08-16 21:48:53 +01:00
Alex Ellis
1aba6699fe Pending ARMhf changes 2017-01-30 22:15:06 +00:00
Alex
ab2f8e85f3 Introduce gateway_function_invocation_total to track individual functions
Introduce prometheus_alertmanager into stack - have it fire into webhook stash
2017-01-21 10:11:33 +00:00
Alex Ellis
eb0776e3a3 Update to support docker stack deploy 2017-01-09 13:24:42 +00:00