...

Text file src/edge-infra.dev/test/fixtures/crds/gcp/compute.cnrm.cloud.google.com_computefirewallpolicies.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: computefirewallpolicies.compute.cnrm.cloud.google.com
     8spec:
     9  group: compute.cnrm.cloud.google.com
    10  names:
    11    kind: ComputeFirewallPolicy
    12    listKind: ComputeFirewallPolicyList
    13    plural: computefirewallpolicies
    14    singular: computefirewallpolicy
    15  scope: Namespaced
    16  versions:
    17  - name: v1beta1
    18    schema:
    19      openAPIV3Schema:
    20        description: ComputeFirewallPolicy 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: An optional description of this resource. Provide this
    43                  property when you create the resource.
    44                type: string
    45              folderRef:
    46                description: Immutable. The Folder that this resource belongs to.
    47                  Only one of [folderRef, organizationRef] may be specified.
    48                properties:
    49                  external:
    50                    description: The external name of the referenced resource
    51                    type: string
    52                  kind:
    53                    description: Kind of the referent.
    54                    type: string
    55                  name:
    56                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    57                    type: string
    58                  namespace:
    59                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    60                    type: string
    61                type: object
    62              organizationRef:
    63                description: Immutable. The Organization that this resource belongs
    64                  to. Only one of [folderRef, organizationRef] may be specified.
    65                properties:
    66                  external:
    67                    description: The external name of the referenced resource
    68                    type: string
    69                  kind:
    70                    description: Kind of the referent.
    71                    type: string
    72                  name:
    73                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    74                    type: string
    75                  namespace:
    76                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    77                    type: string
    78                type: object
    79              resourceID:
    80                description: Immutable. Optional. The service-generated name of the
    81                  resource. Used for acquisition only. Leave unset to create a new
    82                  resource.
    83                type: string
    84              shortName:
    85                description: Immutable. User-provided name of the Organization firewall
    86                  policy. The name should be unique in the organization in which the
    87                  firewall policy is created. The name must be 1-63 characters long,
    88                  and comply with RFC1035. Specifically, the name must be 1-63 characters
    89                  long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?
    90                  which means the first character must be a lowercase letter, and
    91                  all following characters must be a dash, lowercase letter, or digit,
    92                  except the last character, which cannot be a dash.
    93                type: string
    94            required:
    95            - shortName
    96            type: object
    97          status:
    98            properties:
    99              conditions:
   100                description: |-
   101                  Conditions represent the latest available observations of the
   102                  ComputeFirewallPolicy's current state.
   103                items:
   104                  properties:
   105                    lastTransitionTime:
   106                      description: Last time the condition transitioned from one status
   107                        to another.
   108                      type: string
   109                    message:
   110                      description: Human-readable message indicating details about
   111                        last transition.
   112                      type: string
   113                    reason:
   114                      description: |-
   115                        Unique, one-word, CamelCase reason for the condition's last
   116                        transition.
   117                      type: string
   118                    status:
   119                      description: Status is the status of the condition. Can be True,
   120                        False, Unknown.
   121                      type: string
   122                    type:
   123                      description: Type is the type of the condition.
   124                      type: string
   125                  type: object
   126                type: array
   127              creationTimestamp:
   128                description: Creation timestamp in RFC3339 text format.
   129                type: string
   130              fingerprint:
   131                description: Fingerprint of the resource. This field is used internally
   132                  during updates of this resource.
   133                type: string
   134              id:
   135                description: The unique identifier for the resource. This identifier
   136                  is defined by the server.
   137                type: string
   138              observedGeneration:
   139                description: ObservedGeneration is the generation of the resource
   140                  that was most recently observed by the Config Connector controller.
   141                  If this is equal to metadata.generation, then that means that the
   142                  current reported status reflects the most recent desired state of
   143                  the resource.
   144                type: integer
   145              ruleTupleCount:
   146                description: Total count of all firewall policy rule tuples. A firewall
   147                  policy can not exceed a set number of tuples.
   148                type: integer
   149              selfLink:
   150                description: Server-defined URL for the resource.
   151                type: string
   152              selfLinkWithId:
   153                description: Server-defined URL for this resource with the resource
   154                  id.
   155                type: string
   156            type: object
   157        type: object
   158    served: true
   159    storage: true

View as plain text