cloudstate icon indicating copy to clipboard operation
cloudstate copied to clipboard

Add a schema for StatefulService/StatefulStore CRDs

Open jsravn opened this issue 6 years ago • 0 comments

ref: https://kubernetes.io/blog/2019/06/20/crd-structural-schema/

  • As CRDs have become v1 stable now in K8s, they will require a schema going forward.
  • Having a schema means we can generate API documentation and users know exactly what fields are available in the CR.

This has some further implications to the current CRD structure. We can't use a common config for StatefulStore, for example. It needs to be split up into structured schemas for each type, like a postgresConfig, and so on.

jsravn avatar Nov 19 '19 13:11 jsravn