...

Text file src/edge-infra.dev/test/fixtures/crds/gcp/storage.cnrm.cloud.google.com_storagehmackeys.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: storagehmackeys.storage.cnrm.cloud.google.com
     8spec:
     9  group: storage.cnrm.cloud.google.com
    10  names:
    11    kind: StorageHMACKey
    12    listKind: StorageHMACKeyList
    13    plural: storagehmackeys
    14    singular: storagehmackey
    15  scope: Namespaced
    16  versions:
    17  - name: v1alpha1
    18    schema:
    19      openAPIV3Schema:
    20        description: StorageHMACKey is the Schema for the storage 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              projectRef:
    42                description: The project that this resource belongs to.
    43                properties:
    44                  external:
    45                    description: The external name of the referenced resource
    46                    type: string
    47                  kind:
    48                    description: Kind of the referent.
    49                    type: string
    50                  name:
    51                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    52                    type: string
    53                  namespace:
    54                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    55                    type: string
    56                type: object
    57              resourceID:
    58                description: Immutable. Optional. The service-generated accessId of
    59                  the resource. Used for acquisition only. Leave unset to create a
    60                  new resource.
    61                type: string
    62              serviceAccountEmail:
    63                description: Immutable. The email address of the key's associated
    64                  service account.
    65                type: string
    66              state:
    67                description: 'The state of the key. Can be set to one of ACTIVE, INACTIVE.
    68                  Default value: "ACTIVE" Possible values: ["ACTIVE", "INACTIVE"].'
    69                type: string
    70            required:
    71            - projectRef
    72            - serviceAccountEmail
    73            type: object
    74          status:
    75            properties:
    76              accessId:
    77                description: The access ID of the HMAC Key.
    78                type: string
    79              conditions:
    80                description: |-
    81                  Conditions represent the latest available observations of the
    82                  StorageHMACKey's current state.
    83                items:
    84                  properties:
    85                    lastTransitionTime:
    86                      description: Last time the condition transitioned from one status
    87                        to another.
    88                      type: string
    89                    message:
    90                      description: Human-readable message indicating details about
    91                        last transition.
    92                      type: string
    93                    reason:
    94                      description: |-
    95                        Unique, one-word, CamelCase reason for the condition's last
    96                        transition.
    97                      type: string
    98                    status:
    99                      description: Status is the status of the condition. Can be True,
   100                        False, Unknown.
   101                      type: string
   102                    type:
   103                      description: Type is the type of the condition.
   104                      type: string
   105                  type: object
   106                type: array
   107              observedGeneration:
   108                description: ObservedGeneration is the generation of the resource
   109                  that was most recently observed by the Config Connector controller.
   110                  If this is equal to metadata.generation, then that means that the
   111                  current reported status reflects the most recent desired state of
   112                  the resource.
   113                type: integer
   114              secret:
   115                description: HMAC secret key material.
   116                type: string
   117              timeCreated:
   118                description: '''The creation time of the HMAC key in RFC 3339 format.
   119                  ''.'
   120                type: string
   121              updated:
   122                description: '''The last modification time of the HMAC key metadata
   123                  in RFC 3339 format.''.'
   124                type: string
   125            type: object
   126        type: object
   127    served: true
   128    storage: true

View as plain text