...

Text file src/edge-infra.dev/test/fixtures/crds/gcp/compute.cnrm.cloud.google.com_computeimages.yaml

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

     1---
     2apiVersion: apiextensions.k8s.io/v1
     3kind: CustomResourceDefinition
     4metadata:
     5  annotations:
     6    controller-gen.kubebuilder.io/version: (unknown)
     7  name: computeimages.compute.cnrm.cloud.google.com
     8spec:
     9  group: compute.cnrm.cloud.google.com
    10  names:
    11    kind: ComputeImage
    12    listKind: ComputeImageList
    13    plural: computeimages
    14    singular: computeimage
    15  scope: Namespaced
    16  versions:
    17  - name: v1beta1
    18    schema:
    19      openAPIV3Schema:
    20        description: ComputeImage is the Schema for the compute API
    21        properties:
    22          apiVersion:
    23            description: |-
    24              APIVersion defines the versioned schema of this representation of an object.
    25              Servers should convert recognized schemas to the latest internal value, and
    26              may reject unrecognized values.
    27              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
    28            type: string
    29          kind:
    30            description: |-
    31              Kind is a string value representing the REST resource this object represents.
    32              Servers may infer this from the endpoint the client submits requests to.
    33              Cannot be updated.
    34              In CamelCase.
    35              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
    36            type: string
    37          metadata:
    38            type: object
    39          spec:
    40            properties:
    41              description:
    42                description: |-
    43                  Immutable. An optional description of this resource. Provide this property when
    44                  you create the resource.
    45                type: string
    46              diskRef:
    47                description: |-
    48                  The source disk to create this image based on.
    49                  You must provide either this property or the
    50                  rawDisk.source property but not both to create an image.
    51                properties:
    52                  external:
    53                    description: The external name of the referenced resource
    54                    type: string
    55                  kind:
    56                    description: Kind of the referent.
    57                    type: string
    58                  name:
    59                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    60                    type: string
    61                  namespace:
    62                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    63                    type: string
    64                type: object
    65              diskSizeGb:
    66                description: Immutable. Size of the image when restored onto a persistent
    67                  disk (in GB).
    68                type: integer
    69              family:
    70                description: |-
    71                  Immutable. The name of the image family to which this image belongs. You can
    72                  create disks by specifying an image family instead of a specific
    73                  image name. The image family always returns its latest image that is
    74                  not deprecated. The name of the image family must comply with
    75                  RFC1035.
    76                type: string
    77              guestOsFeatures:
    78                description: |-
    79                  Immutable. A list of features to enable on the guest operating system.
    80                  Applicable only for bootable images.
    81                items:
    82                  properties:
    83                    type:
    84                      description: 'Immutable. The type of supported feature. Read
    85                        [Enabling guest operating system features](https://cloud.google.com/compute/docs/images/create-delete-deprecate-private-images#guest-os-features)
    86                        to see a list of available options. Possible values: ["MULTI_IP_SUBNET",
    87                        "SECURE_BOOT", "SEV_CAPABLE", "UEFI_COMPATIBLE", "VIRTIO_SCSI_MULTIQUEUE",
    88                        "WINDOWS", "GVNIC", "SEV_LIVE_MIGRATABLE", "SEV_SNP_CAPABLE",
    89                        "SUSPEND_RESUME_COMPATIBLE", "TDX_CAPABLE"].'
    90                      type: string
    91                  required:
    92                  - type
    93                  type: object
    94                type: array
    95              imageEncryptionKey:
    96                description: |-
    97                  Immutable. Encrypts the image using a customer-supplied encryption key.
    98
    99
   100                  After you encrypt an image with a customer-supplied key, you must
   101                  provide the same key if you use the image later (e.g. to create a
   102                  disk from the image).
   103                properties:
   104                  kmsKeySelfLinkRef:
   105                    description: |-
   106                      The self link of the encryption key that is stored in Google Cloud
   107                      KMS.
   108                    properties:
   109                      external:
   110                        description: The external name of the referenced resource
   111                        type: string
   112                      kind:
   113                        description: Kind of the referent.
   114                        type: string
   115                      name:
   116                        description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   117                        type: string
   118                      namespace:
   119                        description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   120                        type: string
   121                    type: object
   122                  kmsKeyServiceAccountRef:
   123                    description: |-
   124                      The service account being used for the encryption request for the
   125                      given KMS key. If absent, the Compute Engine default service account
   126                      is used.
   127                    properties:
   128                      external:
   129                        description: The external name of the referenced resource
   130                        type: string
   131                      kind:
   132                        description: Kind of the referent.
   133                        type: string
   134                      name:
   135                        description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   136                        type: string
   137                      namespace:
   138                        description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   139                        type: string
   140                    type: object
   141                type: object
   142              licenses:
   143                description: Immutable. Any applicable license URI.
   144                items:
   145                  type: string
   146                type: array
   147              rawDisk:
   148                description: Immutable. The parameters of the raw disk image.
   149                properties:
   150                  containerType:
   151                    description: |-
   152                      Immutable. The format used to encode and transmit the block device, which
   153                      should be TAR. This is just a container and transmission format
   154                      and not a runtime format. Provided by the client when the disk
   155                      image is created. Default value: "TAR" Possible values: ["TAR"].
   156                    type: string
   157                  sha1:
   158                    description: |-
   159                      Immutable. An optional SHA1 checksum of the disk image before unpackaging.
   160                      This is provided by the client when the disk image is created.
   161                    type: string
   162                  source:
   163                    description: |-
   164                      Immutable. The full Google Cloud Storage URL where disk storage is stored
   165                      You must provide either this property or the sourceDisk property
   166                      but not both.
   167                    type: string
   168                required:
   169                - source
   170                type: object
   171              resourceID:
   172                description: Immutable. Optional. The name of the resource. Used for
   173                  creation and acquisition. When unset, the value of `metadata.name`
   174                  is used as the default.
   175                type: string
   176              sourceImageRef:
   177                description: The source image used to create this image.
   178                properties:
   179                  external:
   180                    description: The external name of the referenced resource
   181                    type: string
   182                  kind:
   183                    description: Kind of the referent.
   184                    type: string
   185                  name:
   186                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   187                    type: string
   188                  namespace:
   189                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   190                    type: string
   191                type: object
   192              sourceSnapshotRef:
   193                description: The source snapshot used to create this image.
   194                properties:
   195                  external:
   196                    description: The external name of the referenced resource
   197                    type: string
   198                  kind:
   199                    description: Kind of the referent.
   200                    type: string
   201                  name:
   202                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   203                    type: string
   204                  namespace:
   205                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   206                    type: string
   207                type: object
   208              storageLocations:
   209                description: |-
   210                  Immutable. Cloud Storage bucket storage location of the image
   211                  (regional or multi-regional).
   212                  Reference link: https://cloud.google.com/compute/docs/reference/rest/v1/images.
   213                items:
   214                  type: string
   215                type: array
   216            type: object
   217          status:
   218            properties:
   219              archiveSizeBytes:
   220                description: |-
   221                  Size of the image tar.gz archive stored in Google Cloud Storage (in
   222                  bytes).
   223                type: integer
   224              conditions:
   225                description: |-
   226                  Conditions represent the latest available observations of the
   227                  ComputeImage's current state.
   228                items:
   229                  properties:
   230                    lastTransitionTime:
   231                      description: Last time the condition transitioned from one status
   232                        to another.
   233                      type: string
   234                    message:
   235                      description: Human-readable message indicating details about
   236                        last transition.
   237                      type: string
   238                    reason:
   239                      description: |-
   240                        Unique, one-word, CamelCase reason for the condition's last
   241                        transition.
   242                      type: string
   243                    status:
   244                      description: Status is the status of the condition. Can be True,
   245                        False, Unknown.
   246                      type: string
   247                    type:
   248                      description: Type is the type of the condition.
   249                      type: string
   250                  type: object
   251                type: array
   252              creationTimestamp:
   253                description: Creation timestamp in RFC3339 text format.
   254                type: string
   255              labelFingerprint:
   256                description: |-
   257                  The fingerprint used for optimistic locking of this resource. Used
   258                  internally during updates.
   259                type: string
   260              observedGeneration:
   261                description: ObservedGeneration is the generation of the resource
   262                  that was most recently observed by the Config Connector controller.
   263                  If this is equal to metadata.generation, then that means that the
   264                  current reported status reflects the most recent desired state of
   265                  the resource.
   266                type: integer
   267              selfLink:
   268                type: string
   269            type: object
   270        type: object
   271    served: true
   272    storage: true

View as plain text