Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions config/v1/types_infrastructure.go
Original file line number Diff line number Diff line change
Expand Up @@ -822,6 +822,20 @@ type GCPPlatformStatus struct {
// +optional
// +openshift:enable:FeatureGate=GCPCustomAPIEndpointsInstall
// ServiceEndpoints []GCPServiceEndpoint `json:"serviceEndpoints,omitempty"`

// universeDomain is the GCP universe domain detected from credentials.
// Populated by the installer for informational/observability purposes.
// Components should NOT read this field - they should detect universe domain
// from their own GCP credentials.
//
// When omitted, standard public GCP (googleapis.com) is assumed.
//
// universeDomain must be between 1 and 253 characters in length.
//
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=253
// +optional
UniverseDomain string `json:"universeDomain,omitempty"`
}

// GCPResourceLabel is a label to apply to GCP resources created for the cluster.
Expand Down
1 change: 1 addition & 0 deletions config/v1/zz_generated.swagger_doc_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions openapi/generated_openapi/zz_generated.openapi.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions openapi/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -7208,6 +7208,10 @@
"key"
],
"x-kubernetes-list-type": "map"
},
"universeDomain": {
"description": "universeDomain is the GCP universe domain detected from credentials. Populated by the installer for informational/observability purposes. Components should NOT read this field - they should detect universe domain from their own GCP credentials.\n\nWhen omitted, standard public GCP (googleapis.com) is assumed.\n\nuniverseDomain must be between 1 and 253 characters in length.",
"type": "string"
}
}
},
Expand Down