bonny v0.1.3 Bonny.CRD
Represents the spec
portion of a Kubernetes CustomResourceDefinition manifest.
The CustomResourceDefinition API resource allows you to define custom resources. Defining a CRD object creates a new custom resource with a name and schema that you specify. The Kubernetes API serves and handles the storage of your custom resource.
Link to this section Summary
Functions
URL Path to list a CRD’s resources
Plural name of CRD
URL path to read the specified CustomResourceDefinition
Generates the map equivalent of the Kubernetes CRD YAML manifest
Link to this section Types
CRD Spec
Link to this section Functions
URL Path to list a CRD’s resources
Namespaced CRD URL Path /apis/bonny.example.om/v1/namespaces/default/widgets
Cluster Resource URL Path & --all-namespaces
path
/apis/bonny.test/v1/widgets
Plural name of CRD
URL path to read the specified CustomResourceDefinition
Namespaced CRD Resource URL Path /apis/bonny.test/v1/namespaces/default/widgets/test-widget
Cluster CRD Resource URL Path & --all-namespaces
path
/apis/bonny.test/v1/widgets/test-widget
Generates the map equivalent of the Kubernetes CRD YAML manifest
---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
creationTimestamp: null
name: widgets.bonny.test
spec:
group: bonny.test
names:
kind: Widget
plural: widgets
scope: Namespaced
version: v1
watch_path(Bonny.CRD.t(), String.t() | integer()) :: binary()