Skip to content
New issue

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

chore: Add Nodejs20 environment #1982

Merged
merged 1 commit into from
Mar 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cmd/kyma/init/function/function.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ Use the flags to specify the initial configuration for your Function or to choos
`Flag used to define the environment for running your Function. Use one of these options:
- nodejs16 (deprecated)
- nodejs18
- nodejs20
- python39 (deprecated)
- python312`,
)
Expand Down
1 change: 1 addition & 0 deletions cmd/kyma/run/function/function.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ func (c *command) workspaceConfig(path string) (workspace.Cfg, error) {
supportedRuntimes := map[string]struct{}{
"nodejs16": {},
"nodejs18": {},
"nodejs20": {},
"python39": {},
"python312": {},
}
Expand Down
1 change: 1 addition & 0 deletions docs/gen-docs/kyma_init_function.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ kyma init function [flags]
-r, --runtime string Flag used to define the environment for running your Function. Use one of these options:
- nodejs16 (deprecated)
- nodejs18
- nodejs20
- python39 (deprecated)
- python312 (default "nodejs18")
--runtime-image-override string Set custom runtime image base.
Expand Down
Loading