**What**
- Update the documentation about secret management to note the changed
file location
- Remove the documentation on secret rotation, because this will not
currently work
- Update apikey-secret and ApiKeyProtected-Secrets to read secret values
from both the old and the new locations
**Why**
- Recent updates to faas-swarm and faas-netes changed the mount location
of secrets. These changes update the docs to reflect this change.
Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
Includes fixes for secrets path, tested on Swarm.
Secrets now mounted at /var/openfaas/secrets/
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
**What**
- When determining the service name of the function, remove any trailing
slashes, the slashes are not allowed in service names for either Swarm
or K8S, so this can only be a left over from the url path
**Why**
- This was preventing service resolution, and hence failed functions,
when the function was called with a trailing slash
Fixes#714
Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
Issue #660 has been open for a while to update to 1.9.6, this
performs the update to the latest in the 1.9 release (1.9.7)
Signed-off-by: Sean Smith <sean@wwsean08.com>
This update removes the PWD button from the readme
Play-with-Docker was unreliable for automatic deployment causing
confusion with users attempting to get started quickly
Signed-off-by: Burton Rheutan <rheutan7@gmail.com>
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>
Fixes https://github.com/openfaas/faas/issues/687 allowing the
gateway to handle the responsibility of basic auth for when it is
in use.
To enable set basic_auth env-var to true and then mount two
secrets or plaintext files under /var/secrets/
basic_auth_user, basic_auth_password
Tested with faas-cli list/deploy and with Safari browser.
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
EnvVars are incorrectly marked as arrays and this is causing some
confusion. Made a fix with Ivana reviewing and tested in Swagger
UI. https://github.com/openfaas/faas-netes/issues/204
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
FaaS-Swarm updates:
- Support varied private repository tag names
- Move to start-first update strategy
Signed-off-by: Alex Ellis (VMware) alexellis2@gmail.com
Adding my github username to DEREK.yml
so that I can help triage UI issues
Signed-off-by: ovation22 <john@1north.com>
Signed-off-by: John Callaway <john@1north.com>
- Added padding to the "You need JavaScript page"
- Added padding to the "You need JavaScript page" - Added info about the CLI tthe "You need JavaScript" page
- Added a message for people who don't have JavaScript enabled
Signed-off-by: Rillian Grant <rillian.grant@hotmail.com>
Adds a more informative screen when a function is not selected
or when there are no functions to select from.
Provides a button to deploy a new function
and more information on how to deploy using
faas-cli.
Signed-off-by: ovation22 <john@1north.com>
Following the existing README instructions would result in an error
when the user attempted to create the secret. This small change
remediates the instruction so that the secret is successfully created.
Signed-off-by: rgee0 <richard@technologee.co.uk>
Moves handler code into separate file but retains same
package.
Changes watchdog to print version on start-up so that we can
grab this from logs. Version flag is also present for getting
additional information if needed from a user's published
container without running their function.
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
This changes introduces a new flag -version to watchdog which will
display version and SHA of last git commit.
Version and SHA are injected at build time and passed as a
build-args for Dockerfile.
Fixes: #632
Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in>
This updates fwatchdog to latest version (0.7.9) in all templates
in sample-functions and faas version in the documentation
Signed-off-by: Ivana Yovcheva (VMware) <iyovcheva@vmware.com>
New blog from Marcus Smallman on writing OpenFaas serverless function in
go has been added to community.md file
Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in>
Previous PR from Simon or Ken broke build due to missing gofmt
in the PR. This PR applies it to resolve the build issue.
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
CI was using a test of ! -s which appeared to give a false positive
and try to push when it shouldn't. I changed it to -z which checks
for an empty string instead.
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>