We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On the first run of non-stem cell (environmentally initialized containers), return the initialization response rather than the return of the run.
Replication steps: service.yaml:
apiVersion: serving.knative.dev/v1 kind: Service metadata: name: greetings-builtin-code namespace: default spec: template: spec: containers: - image: openwhisk/action-nodejs-v12 env: - name: __OW_RUNTIME_PLATFORM value: knative - name: __OW_ACTION_NAME value: greetings-builtin-code - name: __OW_ACTION_CODE value: "function main(params) {return {payload: 'Hello ' + params.name + ' from ' + params.place + '!'};}"
After deployment,
kubectl apply -f service.yaml
service.serving.knative.dev/greetings-builtin-code configured
kubectl get ksvc
NAME URL LATESTCREATED LATESTREADY READY REASON greetings-builtin-code http://greetings-builtin-code.default.example.com greetings-builtin-code-fv6cv greetings-builtin-code-fv6cv True
value-data.json
{ "value": { "name" : "Will", "place" : "Austin" } }
Now when curl'ing the endpoint, we expect to see the function run
curl -d @value-data.json http://greetings-builtin-code.default.example.com
instead we see
{"OK":true}
I can potentially look into the fix, but I definitely wanted to write down the replication steps before I forgot.
output comes here
The text was updated successfully, but these errors were encountered:
No branches or pull requests
On the first run of non-stem cell (environmentally initialized containers), return the initialization response rather than the return of the run.
Replication steps:
service.yaml:
After deployment,
value-data.json
Now when curl'ing the endpoint, we expect to see the function run
instead we see
I can potentially look into the fix, but I definitely wanted to write down the replication steps before I forgot.
Environment details:
Steps to reproduce the issue:
Provide the expected results and outputs:
Provide the actual results and outputs:
Additional information you deem important:
The text was updated successfully, but these errors were encountered: