...

Text file src/edge-infra.dev/test/fixtures/crds/edge/edge.ncr.com_provisions.yaml

Documentation: edge-infra.dev/test/fixtures/crds/edge

     1apiVersion: apiextensions.k8s.io/v1
     2kind: CustomResourceDefinition
     3metadata:
     4  name: provisions.edge.ncr.com
     5  annotations:
     6    controller-gen.kubebuilder.io/version: (unknown)
     7spec:
     8  group: edge.ncr.com
     9  names:
    10    kind: Provision
    11    listKind: ProvisionList
    12    plural: provisions
    13    singular: provision
    14  scope: Namespaced
    15  versions:
    16  - name: v1alpha1
    17    schema:
    18      openAPIV3Schema:
    19        type: object
    20        description: Provision is the Schema for the provisions API
    21        properties:
    22          apiVersion:
    23            type: string
    24            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'
    25          kind:
    26            type: string
    27            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'
    28          metadata:
    29            type: object
    30          spec:
    31            type: object
    32            description: ProvisionSpec defines the desired state of Provision
    33            properties:
    34              image:
    35                type: string
    36              imageProject:
    37                type: string
    38                description: MachineType  string `json:"machineType"`
    39              machineSpec:
    40                type: object
    41                properties:
    42                  diskSizeGb:
    43                    type: integer
    44                    format: int64
    45                  memory:
    46                    type: string
    47                  numCPUs:
    48                    type: string
    49              provider:
    50                type: object
    51                description: SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace
    52                properties:
    53                  name:
    54                    type: string
    55                    description: name is unique within a namespace to reference a secret resource.
    56                  namespace:
    57                    type: string
    58                    description: namespace defines the space within which the secret name must be unique.
    59              tags:
    60                type: array
    61                items:
    62                  type: string
    63              windowsSpec:
    64                type: object
    65                description: WindowsSpec - used for setting MetadataList in a Windows VM
    66                properties:
    67                  startUpScriptURL:
    68                    type: string
    69                  sysPrepScriptURL:
    70                    type: string
    71              zone:
    72                type: string
    73            required:
    74            - image
    75            - imageProject
    76            - provider
    77            - zone
    78          status:
    79            type: object
    80            description: ProvisionStatus defines the observed state of Provision
    81            properties:
    82              currentStatus:
    83                type: string
    84              externalIP:
    85                type: string
    86              internalIP:
    87                type: string
    88              statusMessage:
    89                type: string
    90              statusSource:
    91                type: string
    92            required:
    93            - currentStatus
    94            - externalIP
    95            - internalIP
    96            - statusMessage
    97            - statusSource
    98    served: true
    99    storage: true
   100    subresources:
   101      status: {}

View as plain text