@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33kind : CustomResourceDefinition
44metadata :
55 annotations :
6- controller-gen.kubebuilder.io/version : v0.16.2
6+ controller-gen.kubebuilder.io/version : v0.17.0
77 name : imageclusterinstalls.extensions.hive.openshift.io
88spec :
99 group : extensions.hive.openshift.io
@@ -150,8 +150,27 @@ spec:
150150 during installation and used for tagging/naming resources in
151151 cloud providers.
152152 type : string
153+ metadataJSONSecretRef :
154+ description : |-
155+ MetadataJSONSecretRef references the secret containing the metadata.json emitted by the
156+ installer, potentially scrubbed for sensitive data.
157+ properties :
158+ name :
159+ default : " "
160+ description : |-
161+ Name of the referent.
162+ This field is effectively required, but due to backwards compatibility is
163+ allowed to be empty. Instances of this type with an empty value here are
164+ almost certainly wrong.
165+ More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
166+ type : string
167+ type : object
168+ x-kubernetes-map-type : atomic
153169 platform :
154- description : Platform holds platform-specific cluster metadata
170+ description : |-
171+ Platform holds platform-specific cluster metadata.
172+ Deprecated. Use the Secret referenced by MetadataJSONSecretRef instead. We may stop
173+ populating this section in the future.
155174 properties :
156175 aws :
157176 description : AWS holds AWS-specific cluster metadata
@@ -160,14 +179,18 @@ spec:
160179 description : |-
161180 HostedZoneRole is the role to assume when performing operations
162181 on a hosted zone owned by another account.
182+ Deprecated. Use the Secret referenced by ClusterMetadata.MetadataJSONSecretRef instead. We
183+ may stop populating this section in the future.
163184 type : string
164185 type : object
165186 azure :
166187 description : Azure holds azure-specific cluster metadata
167188 properties :
168189 resourceGroupName :
169- description : ResourceGroupName is the name of the resource
170- group in which the cluster resources were created.
190+ description : |-
191+ ResourceGroupName is the name of the resource group in which the cluster resources were created.
192+ Deprecated. Use the Secret referenced by ClusterMetadata.MetadataJSONSecretRef instead. We
193+ may stop populating this section in the future.
171194 type : string
172195 required :
173196 - resourceGroupName
@@ -176,7 +199,10 @@ spec:
176199 description : GCP holds GCP-specific cluster metadata
177200 properties :
178201 networkProjectID :
179- description : NetworkProjectID is used for shared VPC setups
202+ description : |-
203+ NetworkProjectID is used for shared VPC setups
204+ Deprecated. Use the Secret referenced by ClusterMetadata.MetadataJSONSecretRef instead. We
205+ may stop populating this section in the future.
180206 type : string
181207 type : object
182208 type : object
0 commit comments