Skip to content

Conversation

@fernandezcuesta
Copy link
Contributor

@fernandezcuesta fernandezcuesta commented May 23, 2025

Description of your changes

Add the ability to set a custom TTL for the function response.

It allows 3 ways to set it up besides the default, from lower to higher precedence:

  • default (current behaviour)
  • as a cli argument (deploymentruntimeconfig)
  • as a function input
  • as an annotation in the XR

Fixes #424

I have:

Signed-off-by: Jesús Fernández <[email protected]>
Signed-off-by: Jesús Fernández <[email protected]>
Signed-off-by: Jesús Fernández <[email protected]>
# Common versions
GO_VERSION: '1.23.8'
GOLANGCI_VERSION: 'v1.62.0'
GO_VERSION: '1.24.1'
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

go1.24.3 was a security release so if updating to 1.24, it should be 1.24.3 (or .4 in a couple of days)

Signed-off-by: Jesús Fernández <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for setting the response Meta.TTL

2 participants