Skip to content

Commit

Permalink
chore: Add Nodejs20 environment
Browse files Browse the repository at this point in the history
  • Loading branch information
halamix2 committed Mar 7, 2024
1 parent 0169af4 commit 80eed6d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
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

0 comments on commit 80eed6d

Please sign in to comment.