...

Text file src/edge-infra.dev/test/fixtures/crds/gcp/compute.cnrm.cloud.google.com_computemachineimages.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: computemachineimages.compute.cnrm.cloud.google.com
     8spec:
     9  group: compute.cnrm.cloud.google.com
    10  names:
    11    kind: ComputeMachineImage
    12    listKind: ComputeMachineImageList
    13    plural: computemachineimages
    14    singular: computemachineimage
    15  scope: Namespaced
    16  versions:
    17  - name: v1alpha1
    18    schema:
    19      openAPIV3Schema:
    20        description: ComputeMachineImage 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: Immutable. A text description of the resource.
    43                type: string
    44              guestFlush:
    45                description: |-
    46                  Immutable. Specify this to create an application consistent machine image by informing the OS to prepare for the snapshot process.
    47                  Currently only supported on Windows instances using the Volume Shadow Copy Service (VSS).
    48                type: boolean
    49              machineImageEncryptionKey:
    50                description: |-
    51                  Immutable. Encrypts the machine image using a customer-supplied encryption key.
    52
    53
    54                  After you encrypt a machine image with a customer-supplied key, you must
    55                  provide the same key if you use the machine image later (e.g. to create a
    56                  instance from the image).
    57                properties:
    58                  kmsKeyName:
    59                    description: Immutable. The name of the encryption key that is
    60                      stored in Google Cloud KMS.
    61                    type: string
    62                  kmsKeyServiceAccount:
    63                    description: |-
    64                      Immutable. The service account used for the encryption request for the given KMS key.
    65                      If absent, the Compute Engine Service Agent service account is used.
    66                    type: string
    67                  rawKey:
    68                    description: |-
    69                      Immutable. Specifies a 256-bit customer-supplied encryption key, encoded in
    70                      RFC 4648 base64 to either encrypt or decrypt this resource.
    71                    type: string
    72                  sha256:
    73                    description: |-
    74                      The RFC 4648 base64 encoded SHA-256 hash of the
    75                      customer-supplied encryption key that protects this resource.
    76                    type: string
    77                type: object
    78              projectRef:
    79                description: The project that this resource belongs to.
    80                properties:
    81                  external:
    82                    description: The external name of the referenced resource
    83                    type: string
    84                  kind:
    85                    description: Kind of the referent.
    86                    type: string
    87                  name:
    88                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    89                    type: string
    90                  namespace:
    91                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    92                    type: string
    93                type: object
    94              resourceID:
    95                description: Immutable. Optional. The name of the resource. Used for
    96                  creation and acquisition. When unset, the value of `metadata.name`
    97                  is used as the default.
    98                type: string
    99              sourceInstanceRef:
   100                properties:
   101                  external:
   102                    description: The external name of the referenced resource
   103                    type: string
   104                  kind:
   105                    description: Kind of the referent.
   106                    type: string
   107                  name:
   108                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   109                    type: string
   110                  namespace:
   111                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   112                    type: string
   113                type: object
   114            required:
   115            - projectRef
   116            - sourceInstanceRef
   117            type: object
   118          status:
   119            properties:
   120              conditions:
   121                description: |-
   122                  Conditions represent the latest available observations of the
   123                  ComputeMachineImage's current state.
   124                items:
   125                  properties:
   126                    lastTransitionTime:
   127                      description: Last time the condition transitioned from one status
   128                        to another.
   129                      type: string
   130                    message:
   131                      description: Human-readable message indicating details about
   132                        last transition.
   133                      type: string
   134                    reason:
   135                      description: |-
   136                        Unique, one-word, CamelCase reason for the condition's last
   137                        transition.
   138                      type: string
   139                    status:
   140                      description: Status is the status of the condition. Can be True,
   141                        False, Unknown.
   142                      type: string
   143                    type:
   144                      description: Type is the type of the condition.
   145                      type: string
   146                  type: object
   147                type: array
   148              observedGeneration:
   149                description: ObservedGeneration is the generation of the resource
   150                  that was most recently observed by the Config Connector controller.
   151                  If this is equal to metadata.generation, then that means that the
   152                  current reported status reflects the most recent desired state of
   153                  the resource.
   154                type: integer
   155              selfLink:
   156                type: string
   157              storageLocations:
   158                description: The regional or multi-regional Cloud Storage bucket location
   159                  where the machine image is stored.
   160                items:
   161                  type: string
   162                type: array
   163            type: object
   164        type: object
   165    served: true
   166    storage: true

View as plain text