...

Text file src/edge-infra.dev/config/pallets/edge/bannerctl/base/crds/edge.ncr.com_banners.yaml

Documentation: edge-infra.dev/config/pallets/edge/bannerctl/base/crds

     1apiVersion: apiextensions.k8s.io/v1
     2kind: CustomResourceDefinition
     3metadata:
     4  name: banners.edge.ncr.com
     5  annotations:
     6    controller-gen.kubebuilder.io/version: (unknown)
     7spec:
     8  group: edge.ncr.com
     9  names:
    10    kind: Banner
    11    listKind: BannerList
    12    plural: banners
    13    singular: banner
    14  scope: Cluster
    15  versions:
    16  - name: v1alpha1
    17    additionalPrinterColumns:
    18    - name: Display Name
    19      type: string
    20      jsonPath: .spec.displayName
    21    - name: GCP ID
    22      type: string
    23      jsonPath: .spec.gcp.projectId
    24    - name: Ready
    25      type: string
    26      jsonPath: .status.conditions[?(@.type=="Ready")].status
    27    - name: Status
    28      type: string
    29      jsonPath: .status.conditions[?(@.type=="Ready")].message
    30    schema:
    31      openAPIV3Schema:
    32        type: object
    33        description: Banner is the Schema for the Banners API
    34        properties:
    35          apiVersion:
    36            type: string
    37            description: |-
    38              APIVersion defines the versioned schema of this representation of an object.
    39              Servers should convert recognized schemas to the latest internal value, and
    40              may reject unrecognized values.
    41              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
    42          kind:
    43            type: string
    44            description: |-
    45              Kind is a string value representing the REST resource this object represents.
    46              Servers may infer this from the endpoint the client submits requests to.
    47              Cannot be updated.
    48              In CamelCase.
    49              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
    50          metadata:
    51            type: object
    52          spec:
    53            type: object
    54            description: BannerSpec defines the desired state of Banner
    55            properties:
    56              bsl:
    57                type: object
    58                description: BSLConfig maps a Banner to BSL entities
    59                properties:
    60                  enterpriseUnit:
    61                    type: object
    62                    description: BSLEnterpriseUnit represents a BSL specific EnterpriseUnit corresponding to a Banner
    63                    properties:
    64                      id:
    65                        type: string
    66                  entityTypes:
    67                    type: array
    68                    items:
    69                      type: string
    70                  organization:
    71                    type: object
    72                    description: BSLOrganization represents a BSL organization
    73                    properties:
    74                      name:
    75                        type: string
    76              displayName:
    77                type: string
    78              enablements:
    79                type: array
    80                items:
    81                  type: string
    82              gcp:
    83                type: object
    84                description: |-
    85                  GCPConfig contains GCP specific options.
    86                    - ProjectID: The globally unique ID (not display name) of the project
    87                      to create for the Banner
    88                properties:
    89                  projectId:
    90                    type: string
    91          status:
    92            type: object
    93            default:
    94              observedGeneration: -1
    95            description: BannerStatus defines the observed state of a Banner
    96            properties:
    97              bslSyncStatus:
    98                type: object
    99                properties:
   100                  completed:
   101                    type: boolean
   102                  entityTypes:
   103                    type: array
   104                    items:
   105                      type: string
   106                required:
   107                - completed
   108              clusterInfraClusterEdgeID:
   109                type: string
   110              clusterInfraClusterProjectID:
   111                type: string
   112              conditions:
   113                type: array
   114                items:
   115                  type: object
   116                  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}"
   117                  properties:
   118                    type:
   119                      type: string
   120                      description: |-
   121                        type of condition in CamelCase or in foo.example.com/CamelCase.
   122                        ---
   123                        Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
   124                        useful (see .node.status.conditions), the ability to deconflict is important.
   125                        The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
   126                      maxLength: 316
   127                      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])$
   128                    status:
   129                      type: string
   130                      description: status of the condition, one of True, False, Unknown.
   131                      enum:
   132                      - "True"
   133                      - "False"
   134                      - Unknown
   135                    lastTransitionTime:
   136                      type: string
   137                      description: |-
   138                        lastTransitionTime is the last time the condition transitioned from one status to another.
   139                        This should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.
   140                      format: date-time
   141                    message:
   142                      type: string
   143                      description: |-
   144                        message is a human readable message indicating details about the transition.
   145                        This may be an empty string.
   146                      maxLength: 32768
   147                    observedGeneration:
   148                      type: integer
   149                      description: |-
   150                        observedGeneration represents the .metadata.generation that the condition was set based upon.
   151                        For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
   152                        with respect to the current state of the instance.
   153                      format: int64
   154                      minimum: 0
   155                    reason:
   156                      type: string
   157                      description: |-
   158                        reason contains a programmatic identifier indicating the reason for the condition's last transition.
   159                        Producers of specific condition types may define expected values and meanings for this field,
   160                        and whether the values are considered a guaranteed API.
   161                        The value should be a CamelCase string.
   162                        This field may not be empty.
   163                      maxLength: 1024
   164                      minLength: 1
   165                      pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
   166                  required:
   167                  - lastTransitionTime
   168                  - message
   169                  - reason
   170                  - status
   171                  - type
   172              couchClusterEdgeID:
   173                type: string
   174              inventory:
   175                type: object
   176                description: |-
   177                  ResourceInventory contains a list of Kubernetes resource object references
   178                  that have been applied.
   179                properties:
   180                  entries:
   181                    type: array
   182                    description: Entries of Kubernetes resource object references.
   183                    items:
   184                      type: object
   185                      description: ResourceRef contains the information necessary to locate a resource within a cluster.
   186                      properties:
   187                        id:
   188                          type: string
   189                          description: |-
   190                            ID is the string representation of the Kubernetes resource object's metadata,
   191                            in the format '<namespace>_<name>_<group>_<kind>'.
   192                        v:
   193                          type: string
   194                          description: Version is the API version of the Kubernetes resource object's kind.
   195                      required:
   196                      - id
   197                      - v
   198              observedGeneration:
   199                type: integer
   200                format: int64
   201              projectNumber:
   202                type: string
   203                description: |-
   204                  ProjectNumber is the unique number associated with each project after
   205                  creation
   206              projectRef:
   207                type: string
   208                description: ProjectRef is a reference to the GCP Project KCC Resource in namespace/name format
   209    served: true
   210    storage: true
   211    subresources:
   212      status: {}

View as plain text