...

Text file src/edge-infra.dev/config/pallets/sds/pxe/base/dsds.edge.ncr.com_pxes.yaml

Documentation: edge-infra.dev/config/pallets/sds/pxe/base

     1apiVersion: apiextensions.k8s.io/v1
     2kind: CustomResourceDefinition
     3metadata:
     4  name: pxes.dsds.edge.ncr.com
     5  annotations:
     6    controller-gen.kubebuilder.io/version: (unknown)
     7spec:
     8  group: dsds.edge.ncr.com
     9  names:
    10    kind: PXE
    11    listKind: PXEList
    12    plural: pxes
    13    singular: pxe
    14  scope: Cluster
    15  versions:
    16  - name: v1
    17    additionalPrinterColumns:
    18    - name: Age
    19      type: date
    20      jsonPath: .metadata.creationTimestamp
    21    schema:
    22      openAPIV3Schema:
    23        type: object
    24        properties:
    25          apiVersion:
    26            type: string
    27            description: |-
    28              APIVersion defines the versioned schema of this representation of an object.
    29              Servers should convert recognized schemas to the latest internal value, and
    30              may reject unrecognized values.
    31              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
    32          kind:
    33            type: string
    34            description: |-
    35              Kind is a string value representing the REST resource this object represents.
    36              Servers may infer this from the endpoint the client submits requests to.
    37              Cannot be updated.
    38              In CamelCase.
    39              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
    40          metadata:
    41            type: object
    42          spec:
    43            type: object
    44            properties:
    45              suspend:
    46                type: boolean
    47                default: false
    48                description: |-
    49                  Suspend tells the controller to suspend subsequent reconciliations, it
    50                  does not apply to already started reconciliations. Defaults to false
    51          status:
    52            type: object
    53            properties:
    54              conditions:
    55                type: array
    56                items:
    57                  type: object
    58                  description: "Condition contains details for one aspect of the current state of this API Resource.\n---\nThis struct is intended for direct use as an array at the field path .status.conditions.  For example,\n\n\n\ttype FooStatus struct{\n\t    // Represents the observations of a foo's current state.\n\t    // Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\"\n\t    // +patchMergeKey=type\n\t    // +patchStrategy=merge\n\t    // +listType=map\n\t    // +listMapKey=type\n\t    Conditions []metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t    // other fields\n\t}"
    59                  properties:
    60                    type:
    61                      type: string
    62                      description: |-
    63                        type of condition in CamelCase or in foo.example.com/CamelCase.
    64                        ---
    65                        Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
    66                        useful (see .node.status.conditions), the ability to deconflict is important.
    67                        The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
    68                      maxLength: 316
    69                      pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
    70                    status:
    71                      type: string
    72                      description: status of the condition, one of True, False, Unknown.
    73                      enum:
    74                      - "True"
    75                      - "False"
    76                      - Unknown
    77                    lastTransitionTime:
    78                      type: string
    79                      description: |-
    80                        lastTransitionTime is the last time the condition transitioned from one status to another.
    81                        This should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.
    82                      format: date-time
    83                    message:
    84                      type: string
    85                      description: |-
    86                        message is a human readable message indicating details about the transition.
    87                        This may be an empty string.
    88                      maxLength: 32768
    89                    observedGeneration:
    90                      type: integer
    91                      description: |-
    92                        observedGeneration represents the .metadata.generation that the condition was set based upon.
    93                        For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
    94                        with respect to the current state of the instance.
    95                      format: int64
    96                      minimum: 0
    97                    reason:
    98                      type: string
    99                      description: |-
   100                        reason contains a programmatic identifier indicating the reason for the condition's last transition.
   101                        Producers of specific condition types may define expected values and meanings for this field,
   102                        and whether the values are considered a guaranteed API.
   103                        The value should be a CamelCase string.
   104                        This field may not be empty.
   105                      maxLength: 1024
   106                      minLength: 1
   107                      pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
   108                  required:
   109                  - lastTransitionTime
   110                  - message
   111                  - reason
   112                  - status
   113                  - type
   114              inventory:
   115                type: object
   116                description: Resources managed by PXE
   117                properties:
   118                  entries:
   119                    type: array
   120                    description: Entries of Kubernetes resource object references.
   121                    items:
   122                      type: object
   123                      description: ResourceRef contains the information necessary to locate a resource within a cluster.
   124                      properties:
   125                        id:
   126                          type: string
   127                          description: |-
   128                            ID is the string representation of the Kubernetes resource object's metadata,
   129                            in the format '<namespace>_<name>_<group>_<kind>'.
   130                        v:
   131                          type: string
   132                          description: Version is the API version of the Kubernetes resource object's kind.
   133                      required:
   134                      - id
   135                      - v
   136    served: true
   137    storage: true
   138    subresources:
   139      status: {}

View as plain text