Skip to content

Commit 1bed4de

Browse files
committed
CORS-4417: Add UniverseDomain field to GCPPlatformStatus
1 parent 1e68ae5 commit 1bed4de

4 files changed

Lines changed: 22 additions & 0 deletions

File tree

config/v1/types_infrastructure.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -822,6 +822,16 @@ type GCPPlatformStatus struct {
822822
// +optional
823823
// +openshift:enable:FeatureGate=GCPCustomAPIEndpointsInstall
824824
// ServiceEndpoints []GCPServiceEndpoint `json:"serviceEndpoints,omitempty"`
825+
826+
// universeDomain is the GCP universe domain detected from credentials.
827+
// Populated by the installer for informational/observability purposes.
828+
// Components should NOT read this field - they should detect universe domain
829+
// from their own GCP credentials.
830+
//
831+
// When empty, standard public GCP (googleapis.com) is in use.
832+
//
833+
// +optional
834+
UniverseDomain string `json:"universeDomain,omitempty"`
825835
}
826836

827837
// GCPResourceLabel is a label to apply to GCP resources created for the cluster.

config/v1/zz_generated.swagger_doc_generated.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

openapi/generated_openapi/zz_generated.openapi.go

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

openapi/openapi.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7208,6 +7208,10 @@
72087208
"key"
72097209
],
72107210
"x-kubernetes-list-type": "map"
7211+
},
7212+
"universeDomain": {
7213+
"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 empty, standard public GCP (googleapis.com) is in use.",
7214+
"type": "string"
72117215
}
72127216
}
72137217
},

0 commit comments

Comments
 (0)