Skip to content

Commit

Permalink
chore: Deprecate Nodejs18 environment (#2005)
Browse files Browse the repository at this point in the history
  • Loading branch information
halamix2 authored Mar 19, 2024
1 parent 77d76cb commit 7081401
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cmd/kyma/init/function/function.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const (

var (
deprecatedRuntimes = map[string]struct{}{
"nodejs18": {},
"python39": {},
}
)
Expand Down Expand Up @@ -55,7 +56,7 @@ Use the flags to specify the initial configuration for your Function or to choos
cmd.Flags().StringVarP(
&o.Runtime, "runtime", "r", defaultRuntime,
`Flag used to define the environment for running your Function. Use one of these options:
- nodejs18
- nodejs18 (deprecated)
- nodejs20
- python39 (deprecated)
- python312`,
Expand Down
2 changes: 1 addition & 1 deletion docs/gen-docs/kyma_init_function.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ kyma init function [flags]
--reference string Commit hash or branch name (default "main")
--repository-name string The name of the Git repository to be created
-r, --runtime string Flag used to define the environment for running your Function. Use one of these options:
- nodejs18
- nodejs18 (deprecated)
- nodejs20
- python39 (deprecated)
- python312 (default "nodejs18")
Expand Down

0 comments on commit 7081401

Please sign in to comment.