config/v1: add platform status for Azure, GCP
* Azure: one field that is important for operators is the `Resource Group` for the cluster
* GCP: 2 fields that are important for operators is the `Project` where the resources need to be created, and the `region`
that should be used.
@@ -110,6 +110,14 @@ type PlatformStatus struct {
// AWS contains settings specific to the Amazon Web Services infrastructure provider.
// +optional
AWS *AWSPlatformStatus `json:"aws,omitempty"`
+
+ // Azure contains settings specific to the Azure infrastructure provider.
+ // +optional
+ Azure *AzurePlatformStatus `json:"azure,omitempty"`
+
+ // GCP contains settings specific to the Google Cloud Platform infrastructure provider.
+ // +optional
+ GCP *GCPPlatformStatus `json:"gcp,omitempty"`
}
// AWSPlatformStatus holds the current status of the Amazon Web Services infrastructure provider.
@@ -118,6 +126,21 @@ type AWSPlatformStatus struct {
Region string `json:"region"`
}
+// AzurePlatformStatus holds the current status of the Azure infrastructure provider.
+type AzurePlatformStatus struct {
+ // resourceGroupName is the Resource Group for new Azure resources created for the cluster.
+ ResourceGroupName string `json:"resourceGroupName"`
+}
+
+// GCPPlatformStatus holds the current status of the Google Cloud Platform infrastructure provider.
+type GCPPlatformStatus struct {
+ // resourceGroupName is the Project ID for new GCP resources created for the cluster.
+ ProjectID string `json:"projectID"`
+
+ // region holds the region for new GCP resources created for the cluster.
+ Region string `json:"region"`
+}
+
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// InfrastructureList is
