...
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/managed-by-kcc: "true"
23 cnrm.cloud.google.com/stability-level: stable
24 cnrm.cloud.google.com/system: "true"
25 cnrm.cloud.google.com/tf2crd: "true"
26 name: servicedirectorynamespaces.servicedirectory.cnrm.cloud.google.com
27spec:
28 group: servicedirectory.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: ServiceDirectoryNamespace
33 plural: servicedirectorynamespaces
34 shortNames:
35 - gcpservicedirectorynamespace
36 - gcpservicedirectorynamespaces
37 singular: servicedirectorynamespace
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 location:
75 description: |-
76 The location for the Namespace.
77 A full list of valid locations can be found by running
78 'gcloud beta service-directory locations list'.
79 type: string
80 projectRef:
81 description: The project that this resource belongs to.
82 oneOf:
83 - not:
84 required:
85 - external
86 required:
87 - name
88 - not:
89 anyOf:
90 - required:
91 - name
92 - required:
93 - namespace
94 required:
95 - external
96 properties:
97 external:
98 description: 'Allowed value: The `name` field of a `Project` resource.'
99 type: string
100 name:
101 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
102 type: string
103 namespace:
104 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
105 type: string
106 type: object
107 resourceID:
108 description: Immutable. Optional. The namespaceId of the resource.
109 Used for creation and acquisition. When unset, the value of `metadata.name`
110 is used as the default.
111 type: string
112 required:
113 - location
114 - projectRef
115 type: object
116 status:
117 properties:
118 conditions:
119 description: Conditions represent the latest available observation
120 of the resource's current state.
121 items:
122 properties:
123 lastTransitionTime:
124 description: Last time the condition transitioned from one status
125 to another.
126 type: string
127 message:
128 description: Human-readable message indicating details about
129 last transition.
130 type: string
131 reason:
132 description: Unique, one-word, CamelCase reason for the condition's
133 last transition.
134 type: string
135 status:
136 description: Status is the status of the condition. Can be True,
137 False, Unknown.
138 type: string
139 type:
140 description: Type is the type of the condition.
141 type: string
142 type: object
143 type: array
144 name:
145 description: |-
146 The resource name for the namespace
147 in the format 'projects/*/locations/*/namespaces/*'.
148 type: string
149 observedGeneration:
150 description: ObservedGeneration is the generation of the resource
151 that was most recently observed by the Config Connector controller.
152 If this is equal to metadata.generation, then that means that the
153 current reported status reflects the most recent desired state of
154 the resource.
155 type: integer
156 type: object
157 required:
158 - spec
159 type: object
160 served: true
161 storage: true
162 subresources:
163 status: {}
164status:
165 acceptedNames:
166 kind: ""
167 plural: ""
168 conditions: []
169 storedVersions: []
View as plain text