Skip to content

Commit

Permalink
Update operator Pro to disable service links and add limits
Browse files Browse the repository at this point in the history
* Add requests and limits values to various connectors
* Fix an issue in the operator Pro where service links
were still being created and emitted as env-vars

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
  • Loading branch information
alexellis committed Sep 29, 2022
1 parent 18dee26 commit b9d9ace
Show file tree
Hide file tree
Showing 16 changed files with 380 additions and 295 deletions.
2 changes: 1 addition & 1 deletion chart/mqtt-connector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ Configure via `values.yaml`.
| `authPassword` | Password for broker authentication| `""` |
| `asyncInvoke` | Invoke using function's asynchronous route | `false` |
| `basic_auth` | Basic authentication for gateway enabled | `true` |
| `resources` | Resources requests and limits configuration | `requests.memory: "128Mi"` |
| `resources` | Resources requests and limits configuration | `requests.memory: "64Mi"` |
2 changes: 1 addition & 1 deletion chart/mqtt-connector/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ gateway_url: http://gateway.openfaas:8080

resources:
requests:
memory: "128Mi"
memory: "64Mi"
cpu: "100m"
# limits:
# memory: "256Mi"
Expand Down
2 changes: 1 addition & 1 deletion chart/nats-connector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Additional nats-connector options in `values.yaml`.
| `print_response` | Output the response of calling a function in the logs. | `true` |
| `print_response_body` | Output to the logs the response body when calling a function. | `false` |
| `fullnameOverride` | Override the name value used for the Connector Deployment object. | `` |
| `resources` | Resources requests and limits configuration | `requests.memory: "128Mi"` |
| `resources` | Resources requests and limits configuration | `requests.memory: "64Mi"` |

Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
See values.yaml for detailed configuration.
Expand Down
2 changes: 1 addition & 1 deletion chart/openfaas/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
type: application
description: OpenFaaS - Serverless Functions Made Simple
name: openfaas
version: 10.2.12
version: 10.2.13
sources:
- https://github.com/openfaas/faas
- https://github.com/openfaas/faas-netes
Expand Down
4 changes: 2 additions & 2 deletions chart/openfaas/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@ basicAuthPlugin:
cpu: "20m"

faasnetesPro:
image: ghcr.io/openfaasltd/faas-netes:0.1.6
image: ghcr.io/openfaasltd/faas-netes:0.1.7

operatorPro:
image: ghcr.io/openfaasltd/faas-netes:0.1.6
image: ghcr.io/openfaasltd/faas-netes:0.1.7

faasnetes:
image: ghcr.io/openfaas/faas-netes:0.15.2
Expand Down
2 changes: 1 addition & 1 deletion chart/sqs-connector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Additional sqs-connector options in `values.yaml`.
| `printRequestBody` | Output to the logs the request body when calling a function. | `false` |
| `fullnameOverride` | Override the name value used for the Connector Deployment object. | `` |
| `contentType` | Set a HTTP Content Type during function invocation. | `""` |
| `resources` | Resources requests and limits configuration | `requests.memory: "128Mi"` |
| `resources` | Resources requests and limits configuration | `requests.memory: "64Mi"` |
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. See `values.yaml` for the default configuration.

Expand Down
Binary file modified docs/cron-connector-0.6.0.tgz
Binary file not shown.
Loading

0 comments on commit b9d9ace

Please sign in to comment.