...

Text file src/edge-infra.dev/test/fixtures/crds/gcp/compute.cnrm.cloud.google.com_computeorganizationsecuritypolicies.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: computeorganizationsecuritypolicies.compute.cnrm.cloud.google.com
     8spec:
     9  group: compute.cnrm.cloud.google.com
    10  names:
    11    kind: ComputeOrganizationSecurityPolicy
    12    listKind: ComputeOrganizationSecurityPolicyList
    13    plural: computeorganizationsecuritypolicies
    14    singular: computeorganizationsecuritypolicy
    15  scope: Namespaced
    16  versions:
    17  - name: v1alpha1
    18    schema:
    19      openAPIV3Schema:
    20        description: ComputeOrganizationSecurityPolicy is the Schema for the compute
    21          API
    22        properties:
    23          apiVersion:
    24            description: |-
    25              APIVersion defines the versioned schema of this representation of an object.
    26              Servers should convert recognized schemas to the latest internal value, and
    27              may reject unrecognized values.
    28              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
    29            type: string
    30          kind:
    31            description: |-
    32              Kind is a string value representing the REST resource this object represents.
    33              Servers may infer this from the endpoint the client submits requests to.
    34              Cannot be updated.
    35              In CamelCase.
    36              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
    37            type: string
    38          metadata:
    39            type: object
    40          spec:
    41            properties:
    42              description:
    43                description: A textual description for the organization security policy.
    44                type: string
    45              displayName:
    46                description: Immutable. A textual name of the security policy.
    47                type: string
    48              parent:
    49                description: |-
    50                  Immutable. The parent of this OrganizationSecurityPolicy in the Cloud Resource Hierarchy.
    51                  Format: organizations/{organization_id} or folders/{folder_id}.
    52                type: string
    53              resourceID:
    54                description: Immutable. Optional. The policyId of the resource. Used
    55                  for creation and acquisition. When unset, the value of `metadata.name`
    56                  is used as the default.
    57                type: string
    58              type:
    59                description: |-
    60                  Immutable. The type indicates the intended use of the security policy.
    61                  For organization security policies, the only supported type
    62                  is "FIREWALL". Default value: "FIREWALL" Possible values: ["FIREWALL"].
    63                type: string
    64            required:
    65            - displayName
    66            - parent
    67            type: object
    68          status:
    69            properties:
    70              conditions:
    71                description: |-
    72                  Conditions represent the latest available observations of the
    73                  ComputeOrganizationSecurityPolicy's current state.
    74                items:
    75                  properties:
    76                    lastTransitionTime:
    77                      description: Last time the condition transitioned from one status
    78                        to another.
    79                      type: string
    80                    message:
    81                      description: Human-readable message indicating details about
    82                        last transition.
    83                      type: string
    84                    reason:
    85                      description: |-
    86                        Unique, one-word, CamelCase reason for the condition's last
    87                        transition.
    88                      type: string
    89                    status:
    90                      description: Status is the status of the condition. Can be True,
    91                        False, Unknown.
    92                      type: string
    93                    type:
    94                      description: Type is the type of the condition.
    95                      type: string
    96                  type: object
    97                type: array
    98              fingerprint:
    99                description: |-
   100                  Fingerprint of this resource. This field is used internally during
   101                  updates of this resource.
   102                type: string
   103              observedGeneration:
   104                description: ObservedGeneration is the generation of the resource
   105                  that was most recently observed by the Config Connector controller.
   106                  If this is equal to metadata.generation, then that means that the
   107                  current reported status reflects the most recent desired state of
   108                  the resource.
   109                type: integer
   110              policyId:
   111                description: The unique identifier for the resource. This identifier
   112                  is defined by the server.
   113                type: string
   114            type: object
   115        type: object
   116    served: true
   117    storage: true

View as plain text