...
1# Copyright 2020 Google LLC
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15apiVersion: apiextensions.k8s.io/v1
16kind: CustomResourceDefinition
17metadata:
18 annotations:
19 cnrm.cloud.google.com/version: 1.106.0
20 creationTimestamp: null
21 labels:
22 cnrm.cloud.google.com/dcl2crd: "true"
23 cnrm.cloud.google.com/managed-by-kcc: "true"
24 cnrm.cloud.google.com/stability-level: stable
25 cnrm.cloud.google.com/system: "true"
26 name: iamworkforcepools.iam.cnrm.cloud.google.com
27spec:
28 group: iam.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: IAMWorkforcePool
33 plural: iamworkforcepools
34 shortNames:
35 - gcpiamworkforcepool
36 - gcpiamworkforcepools
37 singular: iamworkforcepool
38 scope: Namespaced
39 versions:
40 - additionalPrinterColumns:
41 - jsonPath: .metadata.creationTimestamp
42 name: Age
43 type: date
44 - description: When 'True', the most recent reconcile of the resource succeeded
45 jsonPath: .status.conditions[?(@.type=='Ready')].status
46 name: Ready
47 type: string
48 - description: The reason for the value in 'Ready'
49 jsonPath: .status.conditions[?(@.type=='Ready')].reason
50 name: Status
51 type: string
52 - description: The last transition time for the value in 'Status'
53 jsonPath: .status.conditions[?(@.type=='Ready')].lastTransitionTime
54 name: Status Age
55 type: date
56 name: v1beta1
57 schema:
58 openAPIV3Schema:
59 properties:
60 apiVersion:
61 description: 'apiVersion defines the versioned schema of this representation
62 of an object. Servers should convert recognized schemas to the latest
63 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
64 type: string
65 kind:
66 description: 'kind is a string value representing the REST resource this
67 object represents. Servers may infer this from the endpoint the client
68 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
69 type: string
70 metadata:
71 type: object
72 spec:
73 properties:
74 description:
75 description: A user-specified description of the pool. Cannot exceed
76 256 characters.
77 type: string
78 disabled:
79 description: Whether the pool is disabled. You cannot use a disabled
80 pool to exchange tokens, or use existing tokens to access resources.
81 If the pool is re-enabled, existing tokens grant access again.
82 type: boolean
83 displayName:
84 description: A user-specified display name of the pool in Google Cloud
85 Console. Cannot exceed 32 characters.
86 type: string
87 location:
88 description: Immutable. The location for the resource
89 type: string
90 organizationRef:
91 description: Immutable. The Organization that this resource belongs
92 to. Only one of [organizationRef] may be specified.
93 oneOf:
94 - not:
95 required:
96 - external
97 required:
98 - name
99 - not:
100 anyOf:
101 - required:
102 - name
103 - required:
104 - namespace
105 required:
106 - external
107 properties:
108 external:
109 description: 'Allowed value: The Google Cloud resource name of
110 a Google Cloud Organization (format: `organizations/{{name}}`).'
111 type: string
112 name:
113 description: |-
114 [WARNING] Organization not yet supported in Config Connector, use 'external' field to reference existing resources.
115 Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
116 type: string
117 namespace:
118 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
119 type: string
120 type: object
121 resourceID:
122 description: Immutable. Optional. The name of the resource. Used for
123 creation and acquisition. When unset, the value of `metadata.name`
124 is used as the default.
125 type: string
126 sessionDuration:
127 description: How long the Google Cloud access tokens, console sign-in
128 sessions, and gcloud sign-in sessions from this pool are valid.
129 Must be greater than 15 minutes (900s) and less than 12 hours (43200s).
130 If `session_duration` is not configured, minted credentials will
131 have a default duration of one hour (3600s).
132 type: string
133 required:
134 - location
135 - organizationRef
136 type: object
137 status:
138 properties:
139 conditions:
140 description: Conditions represent the latest available observation
141 of the resource's current state.
142 items:
143 properties:
144 lastTransitionTime:
145 description: Last time the condition transitioned from one status
146 to another.
147 type: string
148 message:
149 description: Human-readable message indicating details about
150 last transition.
151 type: string
152 reason:
153 description: Unique, one-word, CamelCase reason for the condition's
154 last transition.
155 type: string
156 status:
157 description: Status is the status of the condition. Can be True,
158 False, Unknown.
159 type: string
160 type:
161 description: Type is the type of the condition.
162 type: string
163 type: object
164 type: array
165 observedGeneration:
166 description: ObservedGeneration is the generation of the resource
167 that was most recently observed by the Config Connector controller.
168 If this is equal to metadata.generation, then that means that the
169 current reported status reflects the most recent desired state of
170 the resource.
171 type: integer
172 selfLink:
173 description: 'Output only. The resource name of the pool. Format:
174 `locations/{location}/workforcePools/{workforce_pool_id}`'
175 type: string
176 state:
177 description: 'Output only. The state of the pool. Possible values:
178 STATE_UNSPECIFIED, ACTIVE, DELETED'
179 type: string
180 type: object
181 required:
182 - spec
183 type: object
184 served: true
185 storage: true
186 subresources:
187 status: {}
188status:
189 acceptedNames:
190 kind: ""
191 plural: ""
192 conditions: []
193 storedVersions: []
View as plain text