Tags: nitishkumar71/faas-netes
Tags
update info endpoint to use ProviderInfo struct This commit updates faas-netes provider to updated ProviderInfo struct to return provider version information to gateway. Signed-off-by: Vivek Singh <[email protected]>
Enable Go durations for timeouts This affects the operator, which was failing to parse the durations being passed to it as Go durations. It supported ints, but wasn't required since this is code already exists and is used for the controller. Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Fix issue with filtering deployments Fixes issue: openfaas#736 raised by pkoelbl where all deployments in the openfaas-fn namespace were being returned via the REST API when listing functions. The selector's Add method was generating a new value to be returned instead of updating itself. A negative test would have shown this and may be worth adding to the codebase at a later date, or being mocked/stubbed. A PR would be welcomed for this. Thanks also to @LucasRoesler for helping to investigate and confirm the fix. Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Handle null env vars There was an error related to the following issue in openfaas-cloud, which will also occur in faas-cli, where null env-vars were serialized and passed into the spec. This change has been tested and fixes the problem. openfaas/openfaas-cloud#707 Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Upgrade to Go 1.15 Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Use an informer for getting replicas and functions This should reduce rate-limiting on the Kubernetes API server when faas-netes is making many calls. It changes both the function list handler and the replica status API. The API returns much faster than before, so creates more HTTP calls between the gateway and faas-netes, this value will need to be tuned in the gateway to be slower between retries. Tested with k3d and it worked as expected. Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Silence errors for namespace listing Fixes: openfaas#724 Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Add build-context to docker buildx in publish step Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Pin an earlier helm3 version Due to CRDs moving to a v1 namespace, helm lint now fails Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Updated to build all branches and PRs Signed-off-by: Mark Ison <[email protected]>
PreviousNext