-
Notifications
You must be signed in to change notification settings - Fork 405
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Increase timeout values in dex image (#8981) * Make installer and tiller more resilient * Bump dex image * Bump dex image * Add timeout and additional namespaceSelector for knative-serving webhooks (#9017) * Add timeout and addtitinal namespaceSelector for knative-serving webhooks * Lower default knative-eventing webhook timeout to 10 seconds * Disable pod-preset PDB by default (#9014) * Use resource-policy keep in CRDs (#9007) * keyma release 1.14.0-rc1 preperation * installer image path corrected * fix for wrong kyma operator image tag * worn image name fixed * Enable setting max payload size for function (#8989) * Enable setting max payload size for function * remove comment * update docs * update docs * Apply suggestions from code review Co-authored-by: Karolina Zydek <[email protected]> * Update docs/serverless/05-01-serverless-envs.md Co-authored-by: Karolina Zydek <[email protected]> * Update docs/serverless/05-01-serverless-envs.md Co-authored-by: Karolina Zydek <[email protected]> Co-authored-by: Karolina Zydek <[email protected]> Co-authored-by: Jakub Błaszczyk <[email protected]> Co-authored-by: Benjamin Somhegyi <[email protected]> Co-authored-by: Szymon Gibała <[email protected]> Co-authored-by: Mateusz Puczyński <[email protected]> Co-authored-by: Karolina Zydek <[email protected]>
- Loading branch information
1 parent
ac2e972
commit 080b752
Showing
62 changed files
with
126 additions
and
2,692 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
title: Environment variables | ||
type: Configuration | ||
--- | ||
|
||
To configure the Serverless Function, override the default values of these environment variables: | ||
|
||
| Environment variable | Description | Unit | Default value | | ||
| ---------------------- | ----------------------------------------------------------------------------- | ------ | ------------- | | ||
| **FUNC_TIMEOUT** | Specifies the number of seconds in which a runtime must execute the code. | Number | `180` | | ||
| **REQ_MB_LIMIT** | Specifies the payload body size limit in megabytes. | Number | `1` | | ||
|
||
See [`kubeless.js`](https://github.com/kubeless/runtimes/blob/master/stable/nodejs/kubeless.js) to get a deeper understanding of how the Express server, that acts as a runtime, uses these values internally to run Functions. | ||
|
||
See the example of a Function with these environment variables set: | ||
|
||
```yaml | ||
apiVersion: serverless.kyma-project.io/v1alpha1 | ||
kind: Function | ||
metadata: | ||
name: sample-fn-with-envs | ||
namespace: default | ||
spec: | ||
env: | ||
- name: FUNC_TIMEOUT | ||
value: "2" | ||
- name: REQ_MB_LIMIT | ||
value: "10" | ||
source: | | ||
module.exports = { | ||
main: function (event, context) { | ||
return "Hello World!"; | ||
} | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 0 additions & 53 deletions
53
resources/application-connector/charts/connection-token-handler/templates/crd.yaml
This file was deleted.
Oops, something went wrong.
37 changes: 0 additions & 37 deletions
37
...tion-connector/charts/connectivity-certs-controller/templates/central-connection.crd.yaml
This file was deleted.
Oops, something went wrong.
35 changes: 0 additions & 35 deletions
35
...ion-connector/charts/connectivity-certs-controller/templates/certificate-request.crd.yaml
This file was deleted.
Oops, something went wrong.
117 changes: 0 additions & 117 deletions
117
resources/application-connector/templates/application.crd.yaml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,8 @@ webhook: | |
verbosity: 6 | ||
securityContext: | ||
runAsUser: 2000 | ||
pdb: | ||
enabled: false | ||
|
||
controller: | ||
enabled: false | ||
|
2 changes: 2 additions & 0 deletions
2
resources/cluster-essentials/files/compass-connection.crd.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
resources/cluster-essentials/files/crd-applications.applicationconnector.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
resources/cluster-essentials/files/crd-brokers.eventing.knative.dev.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
resources/cluster-essentials/files/crd-centralconnections.applicationconnector.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
resources/cluster-essentials/files/crd-certificaterequests.applicationconnector.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.