...

Text file src/edge-infra.dev/test/fixtures/crds/gcp/iam.cnrm.cloud.google.com_iamworkforcepools.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: iamworkforcepools.iam.cnrm.cloud.google.com
     8spec:
     9  group: iam.cnrm.cloud.google.com
    10  names:
    11    kind: IAMWorkforcePool
    12    listKind: IAMWorkforcePoolList
    13    plural: iamworkforcepools
    14    singular: iamworkforcepool
    15  scope: Namespaced
    16  versions:
    17  - name: v1beta1
    18    schema:
    19      openAPIV3Schema:
    20        description: IAMWorkforcePool is the Schema for the iam 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: A user-specified description of the pool. Cannot exceed
    43                  256 characters.
    44                type: string
    45              disabled:
    46                description: Whether the pool is disabled. You cannot use a disabled
    47                  pool to exchange tokens, or use existing tokens to access resources.
    48                  If the pool is re-enabled, existing tokens grant access again.
    49                type: boolean
    50              displayName:
    51                description: A user-specified display name of the pool in Google Cloud
    52                  Console. Cannot exceed 32 characters.
    53                type: string
    54              location:
    55                description: Immutable. The location for the resource
    56                type: string
    57              organizationRef:
    58                description: Immutable. The Organization that this resource belongs
    59                  to. Only one of [organizationRef] may be specified.
    60                properties:
    61                  external:
    62                    description: The external name of the referenced resource
    63                    type: string
    64                  kind:
    65                    description: Kind of the referent.
    66                    type: string
    67                  name:
    68                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    69                    type: string
    70                  namespace:
    71                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    72                    type: string
    73                type: object
    74              resourceID:
    75                description: Immutable. Optional. The name of the resource. Used for
    76                  creation and acquisition. When unset, the value of `metadata.name`
    77                  is used as the default.
    78                type: string
    79              sessionDuration:
    80                description: How long the Google Cloud access tokens, console sign-in
    81                  sessions, and gcloud sign-in sessions from this pool are valid.
    82                  Must be greater than 15 minutes (900s) and less than 12 hours (43200s).
    83                  If `session_duration` is not configured, minted credentials will
    84                  have a default duration of one hour (3600s).
    85                type: string
    86            required:
    87            - location
    88            - organizationRef
    89            type: object
    90          status:
    91            properties:
    92              conditions:
    93                description: |-
    94                  Conditions represent the latest available observations of the
    95                  IAMWorkforcePool's current state.
    96                items:
    97                  properties:
    98                    lastTransitionTime:
    99                      description: Last time the condition transitioned from one status
   100                        to another.
   101                      type: string
   102                    message:
   103                      description: Human-readable message indicating details about
   104                        last transition.
   105                      type: string
   106                    reason:
   107                      description: |-
   108                        Unique, one-word, CamelCase reason for the condition's last
   109                        transition.
   110                      type: string
   111                    status:
   112                      description: Status is the status of the condition. Can be True,
   113                        False, Unknown.
   114                      type: string
   115                    type:
   116                      description: Type is the type of the condition.
   117                      type: string
   118                  type: object
   119                type: array
   120              observedGeneration:
   121                description: ObservedGeneration is the generation of the resource
   122                  that was most recently observed by the Config Connector controller.
   123                  If this is equal to metadata.generation, then that means that the
   124                  current reported status reflects the most recent desired state of
   125                  the resource.
   126                type: integer
   127              selfLink:
   128                description: 'Output only. The resource name of the pool. Format:
   129                  `locations/{location}/workforcePools/{workforce_pool_id}`'
   130                type: string
   131              state:
   132                description: 'Output only. The state of the pool. Possible values:
   133                  STATE_UNSPECIFIED, ACTIVE, DELETED'
   134                type: string
   135            type: object
   136        type: object
   137    served: true
   138    storage: true

View as plain text