...

Text file src/edge-infra.dev/test/fixtures/crds/gcp/compute.cnrm.cloud.google.com_computesslcertificates.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: computesslcertificates.compute.cnrm.cloud.google.com
     8spec:
     9  group: compute.cnrm.cloud.google.com
    10  names:
    11    kind: ComputeSSLCertificate
    12    listKind: ComputeSSLCertificateList
    13    plural: computesslcertificates
    14    singular: computesslcertificate
    15  scope: Namespaced
    16  versions:
    17  - name: v1beta1
    18    schema:
    19      openAPIV3Schema:
    20        description: ComputeSSLCertificate 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              certificate:
    42                description: |-
    43                  Immutable. The certificate in PEM format.
    44                  The certificate chain must be no greater than 5 certs long.
    45                  The chain must include at least one intermediate cert.
    46                properties:
    47                  value:
    48                    description: Value of the field. Cannot be used if 'valueFrom'
    49                      is specified.
    50                    type: string
    51                  valueFrom:
    52                    description: Source for the field's value. Cannot be used if 'value'
    53                      is specified.
    54                    properties:
    55                      secretKeyRef:
    56                        description: Reference to a value with the given key in the
    57                          given Secret in the resource's namespace.
    58                        properties:
    59                          external:
    60                            description: The external name of the referenced resource
    61                            type: string
    62                          kind:
    63                            description: Kind of the referent.
    64                            type: string
    65                          name:
    66                            description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    67                            type: string
    68                          namespace:
    69                            description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    70                            type: string
    71                        type: object
    72                    type: object
    73                type: object
    74              description:
    75                description: Immutable. An optional description of this resource.
    76                type: string
    77              location:
    78                description: 'Location represents the geographical location of the
    79                  ComputeSSLCertificate. Specify a region name or "global" for global
    80                  resources. Reference: GCP definition of regions/zones (https://cloud.google.com/compute/docs/regions-zones/)'
    81                type: string
    82              privateKey:
    83                description: Immutable. The write-only private key in PEM format.
    84                properties:
    85                  value:
    86                    description: Value of the field. Cannot be used if 'valueFrom'
    87                      is specified.
    88                    type: string
    89                  valueFrom:
    90                    description: Source for the field's value. Cannot be used if 'value'
    91                      is specified.
    92                    properties:
    93                      secretKeyRef:
    94                        description: Reference to a value with the given key in the
    95                          given Secret in the resource's namespace.
    96                        properties:
    97                          external:
    98                            description: The external name of the referenced resource
    99                            type: string
   100                          kind:
   101                            description: Kind of the referent.
   102                            type: string
   103                          name:
   104                            description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   105                            type: string
   106                          namespace:
   107                            description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   108                            type: string
   109                        type: object
   110                    type: object
   111                type: object
   112              resourceID:
   113                description: Immutable. Optional. The name of the resource. Used for
   114                  creation and acquisition. When unset, the value of `metadata.name`
   115                  is used as the default.
   116                type: string
   117            required:
   118            - certificate
   119            - location
   120            - privateKey
   121            type: object
   122          status:
   123            properties:
   124              certificateId:
   125                description: The unique identifier for the resource.
   126                type: integer
   127              conditions:
   128                description: |-
   129                  Conditions represent the latest available observations of the
   130                  ComputeSSLCertificate's current state.
   131                items:
   132                  properties:
   133                    lastTransitionTime:
   134                      description: Last time the condition transitioned from one status
   135                        to another.
   136                      type: string
   137                    message:
   138                      description: Human-readable message indicating details about
   139                        last transition.
   140                      type: string
   141                    reason:
   142                      description: |-
   143                        Unique, one-word, CamelCase reason for the condition's last
   144                        transition.
   145                      type: string
   146                    status:
   147                      description: Status is the status of the condition. Can be True,
   148                        False, Unknown.
   149                      type: string
   150                    type:
   151                      description: Type is the type of the condition.
   152                      type: string
   153                  type: object
   154                type: array
   155              creationTimestamp:
   156                description: Creation timestamp in RFC3339 text format.
   157                type: string
   158              expireTime:
   159                description: Expire time of the certificate in RFC3339 text format.
   160                type: string
   161              observedGeneration:
   162                description: ObservedGeneration is the generation of the resource
   163                  that was most recently observed by the Config Connector controller.
   164                  If this is equal to metadata.generation, then that means that the
   165                  current reported status reflects the most recent desired state of
   166                  the resource.
   167                type: integer
   168              selfLink:
   169                type: string
   170            type: object
   171        type: object
   172    served: true
   173    storage: true

View as plain text