You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
apiVersion: apiextensions.k8s.io/v1beta1kind: CustomResourceDefinitionmetadata:
name: crontabs.stable.example.comspec:
group: stable.example.comversions:
- name: v1served: truestorage: truescope: Namespacednames:
plural: crontabssingular: crontabkind: CronTabshortNames:
- ct# subresources describes the subresources for custom resources.subresources:
# status enables the status subresource.status: {}# scale enables the scale subresource.scale:
# specReplicasPath defines the JSONPath inside of a custom resource that corresponds to Scale.Spec.Replicas.specReplicasPath: .spec.replicas# statusReplicasPath defines the JSONPath inside of a custom resource that corresponds to Scale.Status.Replicas.statusReplicasPath: .status.replicas# labelSelectorPath defines the JSONPath inside of a custom resource that corresponds to Scale.Status.Selector.labelSelectorPath: .status.labelSelector
Will need to support add'l functions on the controller update_status/1update_scale/1
The text was updated successfully, but these errors were encountered:
Support status and scale subresources
Requires: k8s 1.13 beta
Expected behavior
CRD should generate w/ subresources:
Will need to support add'l functions on the controller
update_status/1
update_scale/1
The text was updated successfully, but these errors were encountered: