kyma
kyma copied to clipboard
Improve Usability of Function CRD
Description
Provide a stable version of Function CRD incorporating the sub-type division between the inline and git-sourced types
AC
- [ ] Clean up spec fields that are spread on the root level (i.e source related) - branch
- [ ] Clean up scaling related fields (and support scale subresource to make Function scalable by any scaler) - PR
- [ ] Include shortcut name for function
- [ ] Use stable crd version (non alpha or beta)
- [ ] Implement conversion webhooks so that old specs requested by non-migrated clients are supported - Issue
- [ ] Plan an issue for next serverless apiversion support in kyma CLI
- [x] Plan an issue for next serverless apiversion support in Kyma Dashboard
- [ ] Document CRD changes - issue
Reasons
- cleaning up API of the Function CRD
Attachments
We need to poc the following:
- getting rid of GitRepo CRD !!
- propose changes in Function CRD (eliminate git related pros ??)
- design GitFunction CRD
- decision whether we need a dedicated controller (or have a reconciliation branch in the function controller)
Check PR with proposed changes to Function
CRD
Currently blocked by missing conversion between versions https://github.com/kyma-project/kyma/issues/14593