apache / openwhisk-deploy-kube

The Apache OpenWhisk Kubernetes Deployment repository supports deploying the Apache OpenWhisk system on Kubernetes and OpenShift clusters.
https://openwhisk.apache.org/
Apache License 2.0
302 stars 232 forks source link

How to modify the configuration items of a specific module in openwhisk ? #660

Closed whoszus closed 3 years ago

whoszus commented 3 years ago

What if I want to modify the value of the configuration item under this (openwhisk/core/controller/src/main/resources/application.conf) conf file? any guid line ?

whoszus commented 3 years ago

I am going to modify the akka.http.server.parsing.max-content-length. in my case , 50m is too tiny to create a action.

whoszus commented 3 years ago

can modify these config, and helm upgrade charts.

    - name: "CONFIG_akka_http_server_parsing_maxContentLength"
      value: "{{ .Values.akka.maxContentLength}}"

    - name: "CONFIG_akka_http_client_parsing_maxChunkSize"
      value: "{{ .Values.akka.client.maxChunkSize}}"

    - name: "CONFIG_akka_http_client_parsing_maxContentLength"
      value: "{{ .Values.akka.client.maxContentLength}}"

    - name: "CONFIG_akka_http_parsing_maxToStrictBytes"
      value: "{{ .Values.akka.maxContentLength}}"

    - name: "CONFIG_akka_http_parsing_maxContentLength"
      value: "{{ .Values.akka.maxContentLength}}"