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