Created
November 27, 2019 19:40
-
-
Save awgreene/9c62b160c59b3f83c50985c63f18d961 to your computer and use it in GitHub Desktop.
My kind has a single field that can be an int or a string.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apiextensions.k8s.io/v1 | |
kind: CustomResourceDefinition | |
metadata: | |
annotations: | |
creationTimestamp: null | |
name: mykinds.operators.coreos.com | |
spec: | |
group: operators.coreos.com | |
names: | |
kind: MyKind | |
listKind: MyKindList | |
plural: mykinds | |
singular: mykind | |
scope: Namespaced | |
versions: | |
- name: v1alpha1 | |
schema: | |
openAPIV3Schema: | |
description: My kind has a single field that can be an int or a string. | |
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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds' | |
type: string | |
metadata: | |
type: object | |
intOrString: | |
anyOf: | |
- type: integer | |
- type: string | |
x-kubernetes-int-or-string: true | |
required: | |
- metadata | |
type: object | |
served: true | |
storage: true | |
status: | |
acceptedNames: | |
kind: "" | |
plural: "" | |
conditions: [] | |
storedVersions: [] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment