...
1apiVersion: apiextensions.k8s.io/v1
2kind: CustomResourceDefinition
3metadata:
4 annotations:
5 cnrm.cloud.google.com/version: 0.0.0-dev
6 creationTimestamp: null
7 labels:
8 cnrm.cloud.google.com/managed-by-kcc: "true"
9 cnrm.cloud.google.com/stability-level: stable
10 cnrm.cloud.google.com/system: "true"
11 cnrm.cloud.google.com/tf2crd: "true"
12 name: artifactregistryrepositories.artifactregistry.cnrm.cloud.google.com
13spec:
14 group: artifactregistry.cnrm.cloud.google.com
15 names:
16 categories:
17 - gcp
18 kind: ArtifactRegistryRepository
19 plural: artifactregistryrepositories
20 shortNames:
21 - gcpartifactregistryrepository
22 - gcpartifactregistryrepositories
23 singular: artifactregistryrepository
24 preserveUnknownFields: false
25 scope: Namespaced
26 versions:
27 - additionalPrinterColumns:
28 - jsonPath: .metadata.creationTimestamp
29 name: Age
30 type: date
31 - description: When 'True', the most recent reconcile of the resource succeeded
32 jsonPath: .status.conditions[?(@.type=='Ready')].status
33 name: Ready
34 type: string
35 - description: The reason for the value in 'Ready'
36 jsonPath: .status.conditions[?(@.type=='Ready')].reason
37 name: Status
38 type: string
39 - description: The last transition time for the value in 'Status'
40 jsonPath: .status.conditions[?(@.type=='Ready')].lastTransitionTime
41 name: Status Age
42 type: date
43 name: v1beta1
44 schema:
45 openAPIV3Schema:
46 properties:
47 apiVersion:
48 description: 'apiVersion defines the versioned schema of this representation
49 of an object. Servers should convert recognized schemas to the latest
50 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
51 type: string
52 kind:
53 description: 'kind is a string value representing the REST resource this
54 object represents. Servers may infer this from the endpoint the client
55 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
56 type: string
57 metadata:
58 type: object
59 spec:
60 properties:
61 description:
62 description: The user-provided description of the repository.
63 type: string
64 dockerConfig:
65 description: Docker repository config contains repository level configuration
66 for the repositories of docker type.
67 properties:
68 immutableTags:
69 description: The repository which enabled this flag prevents all
70 tags from being modified, moved or deleted. This does not prevent
71 tags from being created.
72 type: boolean
73 type: object
74 format:
75 description: |-
76 Immutable. The format of packages that are stored in the repository. Supported formats
77 can be found [here](https://cloud.google.com/artifact-registry/docs/supported-formats).
78 You can only create alpha formats if you are a member of the
79 [alpha user group](https://cloud.google.com/artifact-registry/docs/supported-formats#alpha-access).
80 type: string
81 kmsKeyRef:
82 description: |-
83 The customer managed encryption key that’s used to encrypt the
84 contents of the Repository.
85 oneOf:
86 - not:
87 required:
88 - external
89 required:
90 - name
91 - not:
92 anyOf:
93 - required:
94 - name
95 - required:
96 - namespace
97 required:
98 - external
99 properties:
100 external:
101 description: 'Allowed value: The `selfLink` field of a `KMSCryptoKey`
102 resource.'
103 type: string
104 name:
105 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
106 type: string
107 namespace:
108 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
109 type: string
110 type: object
111 location:
112 description: Immutable. The name of the location this repository is
113 located in.
114 type: string
115 mavenConfig:
116 description: |-
117 MavenRepositoryConfig is maven related repository details.
118 Provides additional configuration details for repositories of the maven
119 format type.
120 properties:
121 allowSnapshotOverwrites:
122 description: |-
123 Immutable. The repository with this flag will allow publishing the same
124 snapshot versions.
125 type: boolean
126 versionPolicy:
127 description: 'Immutable. Version policy defines the versions that
128 the registry will accept. Default value: "VERSION_POLICY_UNSPECIFIED"
129 Possible values: ["VERSION_POLICY_UNSPECIFIED", "RELEASE", "SNAPSHOT"].'
130 type: string
131 type: object
132 mode:
133 description: 'Immutable. The mode configures the repository to serve
134 artifacts from different sources. Default value: "STANDARD_REPOSITORY"
135 Possible values: ["STANDARD_REPOSITORY", "VIRTUAL_REPOSITORY", "REMOTE_REPOSITORY"].'
136 type: string
137 remoteRepositoryConfig:
138 description: Immutable. Configuration specific for a Remote Repository.
139 properties:
140 description:
141 description: Immutable. The description of the remote source.
142 type: string
143 dockerRepository:
144 description: Immutable. Specific settings for a Docker remote
145 repository.
146 properties:
147 publicRepository:
148 description: 'Immutable. Address of the remote repository.
149 Default value: "DOCKER_HUB" Possible values: ["DOCKER_HUB"].'
150 type: string
151 type: object
152 mavenRepository:
153 description: Immutable. Specific settings for a Maven remote repository.
154 properties:
155 publicRepository:
156 description: 'Immutable. Address of the remote repository.
157 Default value: "MAVEN_CENTRAL" Possible values: ["MAVEN_CENTRAL"].'
158 type: string
159 type: object
160 npmRepository:
161 description: Immutable. Specific settings for an Npm remote repository.
162 properties:
163 publicRepository:
164 description: 'Immutable. Address of the remote repository.
165 Default value: "NPMJS" Possible values: ["NPMJS"].'
166 type: string
167 type: object
168 pythonRepository:
169 description: Immutable. Specific settings for a Python remote
170 repository.
171 properties:
172 publicRepository:
173 description: 'Immutable. Address of the remote repository.
174 Default value: "PYPI" Possible values: ["PYPI"].'
175 type: string
176 type: object
177 type: object
178 resourceID:
179 description: Immutable. Optional. The repositoryId of the resource.
180 Used for creation and acquisition. When unset, the value of `metadata.name`
181 is used as the default.
182 type: string
183 virtualRepositoryConfig:
184 description: Configuration specific for a Virtual Repository.
185 properties:
186 upstreamPolicies:
187 description: |-
188 Policies that configure the upstream artifacts distributed by the Virtual
189 Repository. Upstream policies cannot be set on a standard repository.
190 items:
191 properties:
192 id:
193 description: The user-provided ID of the upstream policy.
194 type: string
195 priority:
196 description: Entries with a greater priority value take
197 precedence in the pull order.
198 type: integer
199 repositoryRef:
200 description: |-
201 A reference to the repository resource, for example:
202 "projects/p1/locations/us-central1/repositories/repo1".
203 oneOf:
204 - not:
205 required:
206 - external
207 required:
208 - name
209 - not:
210 anyOf:
211 - required:
212 - name
213 - required:
214 - namespace
215 required:
216 - external
217 properties:
218 external:
219 description: 'Allowed value: string of the format `projects/{{project}}/locations/{{location}}/repositories/{{value}}`,
220 where {{value}} is the `name` field of an `ArtifactRegistryRepository`
221 resource.'
222 type: string
223 name:
224 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
225 type: string
226 namespace:
227 description: 'Namespace of the referent. More info:
228 https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
229 type: string
230 type: object
231 type: object
232 type: array
233 type: object
234 required:
235 - format
236 - location
237 type: object
238 status:
239 properties:
240 conditions:
241 description: Conditions represent the latest available observation
242 of the resource's current state.
243 items:
244 properties:
245 lastTransitionTime:
246 description: Last time the condition transitioned from one status
247 to another.
248 type: string
249 message:
250 description: Human-readable message indicating details about
251 last transition.
252 type: string
253 reason:
254 description: Unique, one-word, CamelCase reason for the condition's
255 last transition.
256 type: string
257 status:
258 description: Status is the status of the condition. Can be True,
259 False, Unknown.
260 type: string
261 type:
262 description: Type is the type of the condition.
263 type: string
264 type: object
265 type: array
266 createTime:
267 description: The time when the repository was created.
268 type: string
269 name:
270 description: |-
271 The name of the repository, for example:
272 "repo1".
273 type: string
274 observedGeneration:
275 description: ObservedGeneration is the generation of the resource
276 that was most recently observed by the Config Connector controller.
277 If this is equal to metadata.generation, then that means that the
278 current reported status reflects the most recent desired state of
279 the resource.
280 type: integer
281 updateTime:
282 description: The time when the repository was last updated.
283 type: string
284 type: object
285 required:
286 - spec
287 type: object
288 served: true
289 storage: true
290 subresources:
291 status: {}
292status:
293 acceptedNames:
294 kind: ""
295 plural: ""
296 conditions: []
297 storedVersions: []
View as plain text