...

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

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

     1---
     2apiVersion: apiextensions.k8s.io/v1
     3kind: CustomResourceDefinition
     4metadata:
     5  annotations:
     6    controller-gen.kubebuilder.io/version: (unknown)
     7  name: ienodes.dsds.edge.ncr.com
     8spec:
     9  group: dsds.edge.ncr.com
    10  names:
    11    kind: IENode
    12    listKind: IENodeList
    13    plural: ienodes
    14    shortNames:
    15    - ien
    16    - iens
    17    singular: ienode
    18  scope: Cluster
    19  versions:
    20  - additionalPrinterColumns:
    21    - jsonPath: .spec.clusterEdgeId
    22      name: Cluster Edge Id
    23      priority: 1
    24      type: string
    25    - jsonPath: .spec.role
    26      name: Role
    27      type: string
    28    - jsonPath: .spec.class
    29      name: Class
    30      type: string
    31    - jsonPath: .spec.lane
    32      name: Lane
    33      type: string
    34    - jsonPath: .status.conditions[?(@.type=="Ready")].status
    35      name: Ready
    36      type: string
    37    - jsonPath: .metadata.creationTimestamp
    38      name: Age
    39      type: date
    40    - jsonPath: .status.conditions[?(@.type=="Ready")].reason
    41      name: State
    42      type: string
    43    - jsonPath: .status.conditions[?(@.type=="Ready")].message
    44      name: Message
    45      type: string
    46    name: v1
    47    schema:
    48      openAPIV3Schema:
    49        properties:
    50          apiVersion:
    51            description: |-
    52              APIVersion defines the versioned schema of this representation of an object.
    53              Servers should convert recognized schemas to the latest internal value, and
    54              may reject unrecognized values.
    55              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
    56            type: string
    57          kind:
    58            description: |-
    59              Kind is a string value representing the REST resource this object represents.
    60              Servers may infer this from the endpoint the client submits requests to.
    61              Cannot be updated.
    62              In CamelCase.
    63              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
    64            type: string
    65          metadata:
    66            type: object
    67          spec:
    68            properties:
    69              class:
    70                enum:
    71                - server
    72                - touchpoint
    73                type: string
    74              clusterEdgeID:
    75                type: string
    76              customLabels:
    77                additionalProperties:
    78                  type: string
    79                type: object
    80              hostname:
    81                type: string
    82              lane:
    83                type: string
    84              network:
    85                items:
    86                  properties:
    87                    addresses:
    88                      items:
    89                        type: string
    90                      type: array
    91                    dhcp4:
    92                      type: boolean
    93                    dhcp6:
    94                      type: boolean
    95                    gateway4:
    96                      type: string
    97                    gateway6:
    98                      type: string
    99                    macaddress:
   100                      type: string
   101                  required:
   102                  - dhcp4
   103                  - dhcp6
   104                  type: object
   105                type: array
   106              networkServices:
   107                properties:
   108                  dnsServers:
   109                    items:
   110                      type: string
   111                    type: array
   112                  kubeVip:
   113                    type: string
   114                  ntpServers:
   115                    items:
   116                      type: string
   117                    type: array
   118                type: object
   119              primaryInterface:
   120                properties:
   121                  interfaceId:
   122                    type: string
   123                  macAddresses:
   124                    items:
   125                      type: string
   126                    type: array
   127                required:
   128                - interfaceId
   129                - macAddresses
   130                type: object
   131              role:
   132                enum:
   133                - worker
   134                - controlplane
   135                type: string
   136              swapEnabled:
   137                type: boolean
   138            required:
   139            - network
   140            - role
   141            type: object
   142          status:
   143            properties:
   144              clusterSecretInventory:
   145                properties:
   146                  entries:
   147                    items:
   148                      properties:
   149                        name:
   150                          type: string
   151                        terminalId:
   152                          type: string
   153                        versionApplied:
   154                          type: string
   155                      type: object
   156                    type: array
   157                type: object
   158              conditions:
   159                items:
   160                  description: "Condition contains details for one aspect of the current
   161                    state of this API Resource.\n---\nThis struct is intended for
   162                    direct use as an array at the field path .status.conditions.  For
   163                    example,\n\n\n\ttype FooStatus struct{\n\t    // Represents the
   164                    observations of a foo's current state.\n\t    // Known .status.conditions.type
   165                    are: \"Available\", \"Progressing\", and \"Degraded\"\n\t    //
   166                    +patchMergeKey=type\n\t    // +patchStrategy=merge\n\t    // +listType=map\n\t
   167                    \   // +listMapKey=type\n\t    Conditions []metav1.Condition `json:\"conditions,omitempty\"
   168                    patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t
   169                    \   // other fields\n\t}"
   170                  properties:
   171                    lastTransitionTime:
   172                      description: |-
   173                        lastTransitionTime is the last time the condition transitioned from one status to another.
   174                        This should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.
   175                      format: date-time
   176                      type: string
   177                    message:
   178                      description: |-
   179                        message is a human readable message indicating details about the transition.
   180                        This may be an empty string.
   181                      maxLength: 32768
   182                      type: string
   183                    observedGeneration:
   184                      description: |-
   185                        observedGeneration represents the .metadata.generation that the condition was set based upon.
   186                        For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
   187                        with respect to the current state of the instance.
   188                      format: int64
   189                      minimum: 0
   190                      type: integer
   191                    reason:
   192                      description: |-
   193                        reason contains a programmatic identifier indicating the reason for the condition's last transition.
   194                        Producers of specific condition types may define expected values and meanings for this field,
   195                        and whether the values are considered a guaranteed API.
   196                        The value should be a CamelCase string.
   197                        This field may not be empty.
   198                      maxLength: 1024
   199                      minLength: 1
   200                      pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
   201                      type: string
   202                    status:
   203                      description: status of the condition, one of True, False, Unknown.
   204                      enum:
   205                      - "True"
   206                      - "False"
   207                      - Unknown
   208                      type: string
   209                    type:
   210                      description: |-
   211                        type of condition in CamelCase or in foo.example.com/CamelCase.
   212                        ---
   213                        Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
   214                        useful (see .node.status.conditions), the ability to deconflict is important.
   215                        The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
   216                      maxLength: 316
   217                      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])$
   218                      type: string
   219                  required:
   220                  - lastTransitionTime
   221                  - message
   222                  - reason
   223                  - status
   224                  - type
   225                  type: object
   226                type: array
   227              inventory:
   228                description: |-
   229                  ResourceInventory contains a list of Kubernetes resource object references
   230                  that have been applied.
   231                properties:
   232                  entries:
   233                    description: Entries of Kubernetes resource object references.
   234                    items:
   235                      description: ResourceRef contains the information necessary
   236                        to locate a resource within a cluster.
   237                      properties:
   238                        id:
   239                          description: |-
   240                            ID is the string representation of the Kubernetes resource object's metadata,
   241                            in the format '<namespace>_<name>_<group>_<kind>'.
   242                          type: string
   243                        v:
   244                          description: Version is the API version of the Kubernetes
   245                            resource object's kind.
   246                          type: string
   247                      required:
   248                      - id
   249                      - v
   250                      type: object
   251                    type: array
   252                type: object
   253              network:
   254                properties:
   255                  defaultInterfaceName:
   256                    type: string
   257                  defaultMTU:
   258                    type: integer
   259                type: object
   260            type: object
   261        type: object
   262    served: true
   263    storage: true
   264    subresources:
   265      status: {}

View as plain text