Commit Graph

61 Commits

Author SHA1 Message Date
d6cf16651a Add auth proxy env-vars to gateway for ARM
The two docker compose files for ARM based systems were not configured to pass the auth_proxy variables through to the gateway at deploy time.  This was causing an error in the gateway which would manifest in the CLI and UI as: `ExternalAuthHandler: Get : unsupported protocol scheme ""`.

This change adds `auth_proxy_url` & `auth_proxy_pass_body` to the two ARM compose files so as to mirror the config of the x86_64 compose file.

Signed-off-by: Richard Gee <richard@technologee.co.uk>
2019-09-09 21:50:08 +01:00
8767514527 Bump armhf versions
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-07-31 11:54:56 +01:00
20a0432fd6 Update armhf and arm64 images
Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in>
2019-07-31 11:14:02 +01:00
74a7584f8f Updates faas-swarm to current release 6.2
Signed-off-by: Edward Wilde <ewilde@gmail.com>
2019-05-14 10:31:23 +01:00
139062173a Bump compose to use gateway_invoke for nats-queue-worker
This change means the gateway is used to invoke functions
asynchronously rather than directly so that the scale from zero
path can execute.

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-05-07 18:18:11 +01:00
f524aee855 Update armhf / Swarm gateway version
- switches to 0.12.0

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-04-03 10:02:21 +01:00
54eda5ec0d Run metrics server in a separate method
This commit adds changes to run metrics server in a separate method and
also removed port 8082 from exposed port a/c to review comments.

It also uses a smaller static timeout value for new server.

Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in>
2019-03-09 17:28:46 +00:00
90ddd56985 Add new HTTPServer to serve /metrics on port 8082
This commit runs a new HTTPServer on port 8082 in a goroutine to serve
/metrics endpoint on a different port.

This also update the configurations and compose files.

Fixes: #1081

Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in>
2019-03-09 17:28:46 +00:00
acaefdb839 Bump Prometheus to 2.7.0
Signed-off-by: Radoslav Dimitrov <rdimitrow@gmail.com>
2019-02-05 20:16:25 +00:00
cf67fdba71 Bump to 0.11.0 gateway
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-02-04 12:09:41 +00:00
c2877d0904 Update all Docker Compose files to latest images
Signed-off-by: Radoslav Dimitrov <dimitrovr@vmware.com>
2019-01-30 11:58:15 +00:00
59c88bc7e5 Reconcile Docker Compose files for each architecture
Signed-off-by: Radoslav Dimitrov <dimitrovr@vmware.com>
2019-01-30 11:58:15 +00:00
bfa869ec8c Revert docker tag bump to 0.10.0
**What**
- Revert to the original docker tags because we want to for the bump
until after the official release

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2019-01-24 17:45:33 +00:00
f61735b155 Add basic auth to the system alert endpoint
**What**
- Protect the `/system/alert` endpoint when basic auth is enabled
- Update the alert manager config to send the basic auth credentials
- Bump the gateway version

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2019-01-24 17:45:33 +00:00
5157e68479 Updated armhf images
Signed-off-by: Rishabh Gupta<r.g.gupta@outlook.com>
2019-01-21 18:56:54 +00:00
ea40055c60 Enable basic auth for armhf stack
- basic auth is now optional for armhf - finishes work of #999

Happy Holidays

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-12-25 11:35:53 +00:00
830159bda3 Bump the faas-swarm version in the compose yml
**What**
- Update the fass-swarm version to 0.5.0

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2018-11-29 10:58:22 +00:00
98a76c6949 Bump gateway to 0.9.10
Bumping gateway image for armhf and x64-86 to be the latest
0.9.10

Signed-off-by: Martin Dekov (VMware) <mdekov@vmware.com>
2018-11-12 10:24:56 +00:00
7e36b2477d Update nats-streaming to 0.11.2
Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2018-10-26 08:21:10 +01:00
cbf39f0069 Bump nats-streaming version to 0.11.0
**What**
- Bumpe nats-streaming version to 0.11.0 in the docker-compose files
- Addresses #790

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2018-10-26 08:21:10 +01:00
4a6c6afe94 Bump gw version to 0.9.7
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-10-21 12:49:43 +01:00
2d52206c79 Bump faas-swarm version to 0.4.4
Signed-off-by: Radoslav Dimitrov <rdimitrow@gmail.com>
2018-10-19 12:05:50 +01:00
456e4f5c2f Bump the gateway version to 0.9.6
Signed-off-by: Radoslav Dimitrov <rdimitrow@gmail.com>
2018-10-19 08:45:05 +01:00
41876cc932 Update queue worker version to 0.5.3
Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in>
2018-10-04 15:28:35 +03:00
4476a65dac Bump g/w 0.9.5 and faas-swarm to 0.4.3
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-09-19 21:01:55 +01:00
2f163e556d Bump queue-worker to v0.5.2
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2018-09-12 11:59:09 +01:00
326236763d Lock down faas-swarm
- This commit moves us to faas-swarm 0.4.2 which uses basic auth
(when enabled) to prevent functions or other services from
accessing the administrative API endpoints.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-09-10 13:07:01 +01:00
0cc0201185 Bump gateway to 0.9.2 for docker-compose and docker-compose-armhf
Bumping gateway to latest 0.9.2 release for docker-compose.yml
and docker-compose-armhf.yml files

Signed-off-by: Martin Dekov (VMware) <mdekov@vmware.com>
2018-09-10 12:56:42 +01:00
c221a525bf Bump gateway to 0.9.1
Signed-off-by: Radoslav Dimitrov <rdimitrow@gmail.com>
2018-09-06 17:20:06 +01:00
ffd81afd02 Refactor #843
Code-review/refactoring for #843. Closes #843.

FaaSHandlers has had info and query handlers added to its list
of types for consistency.

Secrets added to queue-worker component ready for next PR.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-09-05 09:47:49 +01:00
810e11c1f6 Bump GW to 0.9.0
Adds PATH support over HTTP for functions.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-08-29 12:47:23 +01:00
b3a71b456a Bump ARMHF versions to latest
Versions now in sync with x86_64:

* `openfaas/gateway:0.8.12-armhf`
* `openfaas/faas-swarm:0.4.1-armhf`
* `openfaas/queue-worker:0.4.9-armhf`

Also moves from functions/ to openfaas/

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-08-24 07:11:22 +00:00
e55c018c17 Update default secret mount path to /run/secrets/
This commit reverts the changes done in #738 to update the default
secret mount path to `/run/secrets/`

Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in>
2018-07-02 19:22:59 +01:00
ced39bcda7 Updated default secret mount path value
This changes updates the secret mount path default value to
/var/openfaas/secrets at serveral places. It has been changed
from /run/secrets/ to /var/openfaas/secrets after version 0.8.2

Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in>
2018-06-28 21:37:10 +03:00
1f6e174454 Update armhf queue-worker version
Signed-off-by: Burton Rheutan <rheutan7@gmail.com>
2018-06-16 16:02:47 -07:00
0bb05480a3 Remove sample functions for swarm
Break out sample functions into new stack.yml
Update instructions in Testdrive.md

Signed-off-by: Eric Stoekl <ems5311@gmail.com>
2018-06-04 19:58:10 -07:00
2ec98a0e13 Fix ack_wait timeout for armhf
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-05-28 15:22:18 -07:00
8133414183 Read secrets from variable path
This change enables secrets to be read from any mount on disk
rather than hard-coding a certain location which suits Swarm or
K8s. The default value if not specified will look in the Swarm
location of /run/secrets/

README.md (docs) updated and set to off by default.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-05-23 11:42:42 +01:00
73355120b0 Bump armhf version and timeout
Needed to level with x86_64. Tested by BurtonR

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-05-22 14:19:51 +01:00
f3ae1a2f62 Added AlertManager ARM Dockerfile and openfaas label to armhf network
Signed-off-by: rgee0 <richard@technologee.co.uk>
2018-03-15 21:50:16 +01:00
3897d1f54e Bump swarm versions
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-03-13 17:30:28 +00:00
9a703bc40e Bump armhf to latest faas-swarm
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-02-01 09:52:07 +00:00
2ba68460bc Bump armhf to latest faas-swarm
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-02-01 09:52:05 +00:00
f954bf0733 Merge master into breakout_swarm
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-02-01 09:29:54 +00:00
635218874b Add back alert rules for armhf
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-01-03 22:20:41 +00:00
206adf5289 Bump armhf version to 0.6.15
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-30 10:49:11 +00:00
bc16d125bf Lock down Prometheus Alertmanager and NATS ports by default (#378)
* Stop exposing Alertmanager and NATS ports

This commit stops exposing the Prometheus Alertmanager and NATS ports by
default on Swarm.

The respective sections are commented out with a note on re-enabling
them.

Signed-off-by: John McCabe <john@johnmccabe.net>

* Revert queue-worker dev tag in yaml

Signed-off-by: John McCabe <john@johnmccabe.net>
2017-11-30 01:05:09 +01:00
399d4d40e7 Removes depends_on tag from docker-compose.yml files and documentation
Signed-off-by: Vincenzo Ferme <fermevincenzo@gmail.com>
2017-11-21 18:56:36 +00:00
4b2282b07f Update docker-compose.armhf.yml 2017-11-15 11:53:31 +00:00
39f5119e49 Add NATS for armhf
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-09 12:42:46 +00:00