Closed viveksyngh closed 6 years ago
Excellent detail on the test scenarios.
I have used faas-provider
to vendor load credentials code instead of faas
. is any other changes required for this?
I've released this now via https://github.com/openfaas/nats-queue-worker/releases/tag/0.5.1
Please could you update all the relevant places / YAML files in a PR for faas/faas-netes?
yes
This commit adds basic authenctication for the gateway to report metrics of the function when it is called asynchronously.
Signed-off-by: Vivek Singh vivekkmr45@yahoo.in
Description
Motivation and Context
Fixes: #35
How Has This Been Tested?
I have tested on Docker for Mac with OpenFaaS Deployed on
Docker swarm
Testcase-1: Positive case with authentication enabled
Output:
Testcase-2: Negative case with authentication enabled, No secrets in
queue-worker
servicebaic-auth
secrets fromqueue-worker
serviceOutput:
Testcase-3: Positive case with authentication disabled, secrets passed in
queue-worker
servicequeue-worker
service withbasic-auth
secretsOutput:
Testcase-4: Positive test case with authetication disabled, secrets not passed in
queue-worker
servicequeue-worker
service withoutbasic-auth
secretsOutput:
Types of changes
Checklist:
git commit -s