Tags: aklyachkin/faas-netes
Tags
Fix readFunction Unfortunately some regression was caused by a955465 which caused OpenFaaS Cloud not to show customer functions on their first commit i.e. "create", but always after their second commit. The reason was a difference between the logic for create/update for managing labels. Change was updated to only create labels for the Pod template, but readFunction was left reading from the Deployment template which meant that we had no labels. The inconsistency was due to the update code adding the labels where readFunction expected to find them. This has been tested e2e and as a result: readFunction - reads from the Pod template create - writes to the Pod template update - creates only in the Pod template Signed-off-by: Alex Ellis <[email protected]>
Update other platform Dockerfiles Signed-off-by: Alex Ellis <[email protected]>
Rename config WatchdogPort to RuntimeHTTPPort Signed-off-by: stefanprodan <[email protected]>
Document local development **What** - Update readme to point to the contribution docs, to make it more discoverable to new developers. - Add start and stop commands to the Makefile to streamline the essential steps for daily development. The start command will print the UI url and cli login command to make it easier to start using and testing the envionment, including showing the username and the generated password. - Add additional `kubectl rollout` commands to really ensure that everything is started, the initial scripts did not always wait in the expected way and would fail to install openfaas. - Document how to use the new makefile commands, how to load a docker image into the environmnet, and how to restart the port-forwarding. - Update the contrib bash scripts to use a portable shebang, this should ensure better compatibility between different developer machines. Signed-off-by: Lucas Roesler <[email protected]>
Vendor the 0.9.0 faas-provider version Vendoring the change which renames Health to HealthHandler to faas-netes for the healthz endpoint Signed-off-by: Martin Dekov <[email protected]>
Add unit test for makeProbes Added exec and httpProbe test-cases. Signed-off-by: Alex Ellis <[email protected]>
Implement serviceAccount for functions This change adds custom serviceAccount support for faas-netes as per the equivalent change in the Operator: openfaas/openfaas-operator#77 The deploy and update handlers are updated to read and set the serviceAccountName from the annotation: "com.openfaas.serviceaccount". When the annotation is empty then the default service account is set when the podSpec is updated. Signed-off-by: Alex Ellis <[email protected]>
Updates based on PR feedback: - move logging back to caller - return both http status code and k8s reason - add tests for default and conflict reasons Signed-off-by: Andrew Cornies <[email protected]>
Refactor secrets handler logic into sub-handlers **What** - Create independent handler methods for each support http method Signed-off-by: Lucas Roesler <[email protected]>
PreviousNext