diff --git a/cmd/kyma/init/function/function.go b/cmd/kyma/init/function/function.go index 43385de0e..5fa313509 100644 --- a/cmd/kyma/init/function/function.go +++ b/cmd/kyma/init/function/function.go @@ -22,9 +22,7 @@ const ( ) var ( - deprecatedRuntimes = map[string]struct{}{ - "nodejs16": {}, - } + deprecatedRuntimes = map[string]struct{}{} ) type command struct { @@ -55,7 +53,6 @@ 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: - - nodejs16 (deprecated) - nodejs18 - python39 - python312`, diff --git a/cmd/kyma/run/function/function.go b/cmd/kyma/run/function/function.go index f6ade7fd0..9e8dba4ee 100644 --- a/cmd/kyma/run/function/function.go +++ b/cmd/kyma/run/function/function.go @@ -122,7 +122,6 @@ func (c *command) workspaceConfig(path string) (workspace.Cfg, error) { } supportedRuntimes := map[string]struct{}{ - "nodejs16": {}, "nodejs18": {}, "python39": {}, "python312": {}, diff --git a/docs/gen-docs/kyma_init_function.md b/docs/gen-docs/kyma_init_function.md index 8878127ec..eb791714b 100644 --- a/docs/gen-docs/kyma_init_function.md +++ b/docs/gen-docs/kyma_init_function.md @@ -23,7 +23,6 @@ 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: - - nodejs16 (deprecated) - nodejs18 - python39 - python312 (default "nodejs18")