kyma icon indicating copy to clipboard operation
kyma copied to clipboard

Improve Usability of Function CRD

Open kwiatekus opened this issue 2 years ago • 3 comments

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 serverless-architecture drawio

serverless-architecture.drawio.zip

kwiatekus avatar Apr 04 '22 09:04 kwiatekus

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)

kwiatekus avatar Apr 28 '22 13:04 kwiatekus

Check PR with proposed changes to Function CRD

m00g3n avatar May 02 '22 13:05 m00g3n

Currently blocked by missing conversion between versions https://github.com/kyma-project/kyma/issues/14593

kwiatekus avatar Jul 21 '22 08:07 kwiatekus