Skip to content

Added the parameter validation capabilities for Function.#290

Merged
benjaminhuo merged 6 commits intoOpenFunction:mainfrom
wrongerror:main
May 13, 2022
Merged

Added the parameter validation capabilities for Function.#290
benjaminhuo merged 6 commits intoOpenFunction:mainfrom
wrongerror:main

Conversation

@wrongerror
Copy link
Member

This pr is to solve this issue: #274.
Now, function are validated before creating and updating, avoid wait-error-retry,in order to make the user experience more user-friendly.

Signed-off-by: wrongerror [email protected]

# Conflicts:
#	apis/core/v1beta1/function_webhook.go
@wanjunlei
Copy link
Member

The config/bundle.yaml needs to be updated too.

…ants already defined in dependent components instead of defining strings to implement validation

Signed-off-by: wrongerror <[email protected]>
… keys of map[interface{}]bool to []string

Signed-off-by: wrongerror <[email protected]>
…s, scalers to support custom components

Signed-off-by: wrongerror <[email protected]>
@benjaminhuo benjaminhuo merged commit 86a86ce into OpenFunction:main May 13, 2022
@benjaminhuo
Copy link
Member

This is a great enhancement!
Thanks @wrongerror !

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.

4 participants