mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-10 08:20:59 +00:00
implement CRD support and add unit tests Add integration test for crd support address comments
171 lines
6.9 KiB
JSON
171 lines
6.9 KiB
JSON
{
|
|
"github.com/example/pkg/apis/jingfang/v1beta1.Bee": {
|
|
"Schema": {
|
|
"description": "Bee",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"$ref": "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"
|
|
},
|
|
"spec": {
|
|
"$ref": "github.com/example/pkg/apis/jingfang/v1beta1.BeeSpec"
|
|
},
|
|
"status": {
|
|
"$ref": "github.com/example/pkg/apis/jingfang/v1beta1.BeeStatus"
|
|
}
|
|
}
|
|
},
|
|
"Dependencies": [
|
|
"github.com/example/pkg/apis/jingfang/v1beta1.BeeSpec",
|
|
"github.com/example/pkg/apis/jingfang/v1beta1.BeeStatus",
|
|
"k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"
|
|
]
|
|
},
|
|
"github.com/example/pkg/apis/jingfang/v1beta1.BeeList": {
|
|
"Schema": {
|
|
"required": [
|
|
"items"
|
|
],
|
|
"properties": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "github.com/example/pkg/apis/jingfang/v1beta1.Bee"
|
|
}
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"$ref": "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"
|
|
}
|
|
}
|
|
},
|
|
"Dependencies": [
|
|
"github.com/example/pkg/apis/jingfang/v1beta1.Bee",
|
|
"k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"
|
|
]
|
|
},
|
|
"github.com/example/pkg/apis/jingfang/v1beta1.BeeObjectReference": {
|
|
"Schema": {
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"Dependencies": []
|
|
},
|
|
"github.com/example/pkg/apis/jingfang/v1beta1.BeeSpec": {
|
|
"Schema": {
|
|
"description": "BeeSpec defines the desired state of Bee"
|
|
},
|
|
"Dependencies": []
|
|
},
|
|
"github.com/example/pkg/apis/jingfang/v1beta1.BeeStatus": {
|
|
"Schema": {
|
|
"description": "BeeStatus defines the observed state of Bee"
|
|
},
|
|
"Dependencies": []
|
|
},
|
|
"github.com/example/pkg/apis/jingfang/v1beta1.MyKind": {
|
|
"Schema": {
|
|
"description": "MyKind",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"$ref": "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"
|
|
},
|
|
"spec": {
|
|
"$ref": "github.com/example/pkg/apis/jingfang/v1beta1.MyKindSpec"
|
|
},
|
|
"status": {
|
|
"$ref": "github.com/example/pkg/apis/jingfang/v1beta1.MyKindStatus"
|
|
}
|
|
}
|
|
},
|
|
"Dependencies": [
|
|
"github.com/example/pkg/apis/jingfang/v1beta1.MyKindSpec",
|
|
"github.com/example/pkg/apis/jingfang/v1beta1.MyKindStatus",
|
|
"k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"
|
|
]
|
|
},
|
|
"github.com/example/pkg/apis/jingfang/v1beta1.MyKindList": {
|
|
"Schema": {
|
|
"required": [
|
|
"items"
|
|
],
|
|
"properties": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "github.com/example/pkg/apis/jingfang/v1beta1.MyKind"
|
|
}
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"$ref": "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"
|
|
}
|
|
}
|
|
},
|
|
"Dependencies": [
|
|
"github.com/example/pkg/apis/jingfang/v1beta1.MyKind",
|
|
"k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"
|
|
]
|
|
},
|
|
"github.com/example/pkg/apis/jingfang/v1beta1.MyKindSpec": {
|
|
"Schema": {
|
|
"description": "MyKindSpec defines the desired state of MyKind",
|
|
"properties": {
|
|
"beeRef": {
|
|
"x-kubernetes-object-ref-api-version": "v1beta1",
|
|
"x-kubernetes-object-ref-kind": "Bee",
|
|
"$ref": "github.com/example/pkg/apis/jingfang/v1beta1.BeeObjectReference"
|
|
},
|
|
"secretRef": {
|
|
"description": "If defined, we use this secret for configuring the MYSQL_ROOT_PASSWORD If it is not set we generate a secret dynamically",
|
|
"x-kubernetes-object-ref-api-version": "v1",
|
|
"x-kubernetes-object-ref-kind": "Secret",
|
|
"$ref": "k8s.io/api/core/v1.LocalObjectReference"
|
|
}
|
|
}
|
|
},
|
|
"Dependencies": [
|
|
"github.com/example/pkg/apis/jingfang/v1beta1.BeeObjectReference",
|
|
"k8s.io/api/core/v1.LocalObjectReference"
|
|
]
|
|
},
|
|
"github.com/example/pkg/apis/jingfang/v1beta1.MyKindStatus": {
|
|
"Schema": {
|
|
"description": "MyKindStatus defines the observed state of MyKind"
|
|
},
|
|
"Dependencies": []
|
|
}
|
|
}
|