...
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: artifactregistryrepositories.artifactregistry.cnrm.cloud.google.com
27spec:
28 group: artifactregistry.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: ArtifactRegistryRepository
33 plural: artifactregistryrepositories
34 shortNames:
35 - gcpartifactregistryrepository
36 - gcpartifactregistryrepositories
37 singular: artifactregistryrepository
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: The user-provided description of the repository.
76 type: string
77 dockerConfig:
78 description: Docker repository config contains repository level configuration
79 for the repositories of docker type.
80 properties:
81 immutableTags:
82 description: The repository which enabled this flag prevents all
83 tags from being modified, moved or deleted. This does not prevent
84 tags from being created.
85 type: boolean
86 type: object
87 format:
88 description: |-
89 Immutable. The format of packages that are stored in the repository. Supported formats
90 can be found [here](https://cloud.google.com/artifact-registry/docs/supported-formats).
91 You can only create alpha formats if you are a member of the
92 [alpha user group](https://cloud.google.com/artifact-registry/docs/supported-formats#alpha-access).
93 type: string
94 kmsKeyRef:
95 description: |-
96 The customer managed encryption key that’s used to encrypt the
97 contents of the Repository.
98 oneOf:
99 - not:
100 required:
101 - external
102 required:
103 - name
104 - not:
105 anyOf:
106 - required:
107 - name
108 - required:
109 - namespace
110 required:
111 - external
112 properties:
113 external:
114 description: 'Allowed value: The `selfLink` field of a `KMSCryptoKey`
115 resource.'
116 type: string
117 name:
118 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
119 type: string
120 namespace:
121 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
122 type: string
123 type: object
124 location:
125 description: Immutable. The name of the location this repository is
126 located in.
127 type: string
128 mavenConfig:
129 description: |-
130 MavenRepositoryConfig is maven related repository details.
131 Provides additional configuration details for repositories of the maven
132 format type.
133 properties:
134 allowSnapshotOverwrites:
135 description: |-
136 Immutable. The repository with this flag will allow publishing the same
137 snapshot versions.
138 type: boolean
139 versionPolicy:
140 description: 'Immutable. Version policy defines the versions that
141 the registry will accept. Default value: "VERSION_POLICY_UNSPECIFIED"
142 Possible values: ["VERSION_POLICY_UNSPECIFIED", "RELEASE", "SNAPSHOT"].'
143 type: string
144 type: object
145 mode:
146 description: 'Immutable. The mode configures the repository to serve
147 artifacts from different sources. Default value: "STANDARD_REPOSITORY"
148 Possible values: ["STANDARD_REPOSITORY", "VIRTUAL_REPOSITORY", "REMOTE_REPOSITORY"].'
149 type: string
150 remoteRepositoryConfig:
151 description: Immutable. Configuration specific for a Remote Repository.
152 properties:
153 description:
154 description: Immutable. The description of the remote source.
155 type: string
156 dockerRepository:
157 description: Immutable. Specific settings for a Docker remote
158 repository.
159 properties:
160 publicRepository:
161 description: 'Immutable. Address of the remote repository.
162 Default value: "DOCKER_HUB" Possible values: ["DOCKER_HUB"].'
163 type: string
164 type: object
165 mavenRepository:
166 description: Immutable. Specific settings for a Maven remote repository.
167 properties:
168 publicRepository:
169 description: 'Immutable. Address of the remote repository.
170 Default value: "MAVEN_CENTRAL" Possible values: ["MAVEN_CENTRAL"].'
171 type: string
172 type: object
173 npmRepository:
174 description: Immutable. Specific settings for an Npm remote repository.
175 properties:
176 publicRepository:
177 description: 'Immutable. Address of the remote repository.
178 Default value: "NPMJS" Possible values: ["NPMJS"].'
179 type: string
180 type: object
181 pythonRepository:
182 description: Immutable. Specific settings for a Python remote
183 repository.
184 properties:
185 publicRepository:
186 description: 'Immutable. Address of the remote repository.
187 Default value: "PYPI" Possible values: ["PYPI"].'
188 type: string
189 type: object
190 type: object
191 resourceID:
192 description: Immutable. Optional. The repositoryId of the resource.
193 Used for creation and acquisition. When unset, the value of `metadata.name`
194 is used as the default.
195 type: string
196 virtualRepositoryConfig:
197 description: Configuration specific for a Virtual Repository.
198 properties:
199 upstreamPolicies:
200 description: |-
201 Policies that configure the upstream artifacts distributed by the Virtual
202 Repository. Upstream policies cannot be set on a standard repository.
203 items:
204 properties:
205 id:
206 description: The user-provided ID of the upstream policy.
207 type: string
208 priority:
209 description: Entries with a greater priority value take
210 precedence in the pull order.
211 type: integer
212 repositoryRef:
213 description: |-
214 A reference to the repository resource, for example:
215 "projects/p1/locations/us-central1/repositories/repo1".
216 oneOf:
217 - not:
218 required:
219 - external
220 required:
221 - name
222 - not:
223 anyOf:
224 - required:
225 - name
226 - required:
227 - namespace
228 required:
229 - external
230 properties:
231 external:
232 description: 'Allowed value: string of the format `projects/{{project}}/locations/{{location}}/repositories/{{value}}`,
233 where {{value}} is the `name` field of an `ArtifactRegistryRepository`
234 resource.'
235 type: string
236 name:
237 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
238 type: string
239 namespace:
240 description: 'Namespace of the referent. More info:
241 https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
242 type: string
243 type: object
244 type: object
245 type: array
246 type: object
247 required:
248 - format
249 - location
250 type: object
251 status:
252 properties:
253 conditions:
254 description: Conditions represent the latest available observation
255 of the resource's current state.
256 items:
257 properties:
258 lastTransitionTime:
259 description: Last time the condition transitioned from one status
260 to another.
261 type: string
262 message:
263 description: Human-readable message indicating details about
264 last transition.
265 type: string
266 reason:
267 description: Unique, one-word, CamelCase reason for the condition's
268 last transition.
269 type: string
270 status:
271 description: Status is the status of the condition. Can be True,
272 False, Unknown.
273 type: string
274 type:
275 description: Type is the type of the condition.
276 type: string
277 type: object
278 type: array
279 createTime:
280 description: The time when the repository was created.
281 type: string
282 name:
283 description: |-
284 The name of the repository, for example:
285 "repo1".
286 type: string
287 observedGeneration:
288 description: ObservedGeneration is the generation of the resource
289 that was most recently observed by the Config Connector controller.
290 If this is equal to metadata.generation, then that means that the
291 current reported status reflects the most recent desired state of
292 the resource.
293 type: integer
294 updateTime:
295 description: The time when the repository was last updated.
296 type: string
297 type: object
298 required:
299 - spec
300 type: object
301 served: true
302 storage: true
303 subresources:
304 status: {}
305status:
306 acceptedNames:
307 kind: ""
308 plural: ""
309 conditions: []
310 storedVersions: []
View as plain text