From 0cb0fbf83f27db3033ecdf63c969c108f6d6c91f Mon Sep 17 00:00:00 2001 From: Mel Rush Date: Tue, 21 Apr 2020 13:49:18 -0600 Subject: [PATCH] adding msg and provisioned to kube (#968) --- api/v1alpha1/apimgmt_types.go | 2 ++ api/v1alpha1/apimservice_types.go | 2 ++ api/v1alpha1/appinsights_types.go | 2 ++ api/v1alpha1/azuredatalakegen2filesystem_types.go | 2 ++ api/v1alpha1/azurenetworkinterface_types.go | 2 ++ api/v1alpha1/azurepublicipaddress_types.go | 2 ++ api/v1alpha1/azuresqlaction_types.go | 2 ++ api/v1alpha1/azuresqldatabase_types.go | 2 ++ api/v1alpha1/azuresqlfailovergroup_types.go | 2 ++ api/v1alpha1/azuresqlfirewallrule_types.go | 2 ++ api/v1alpha1/azuresqlserver_types.go | 2 ++ api/v1alpha1/azuresqluser_types.go | 2 ++ api/v1alpha1/azuresqlvnetrule_types.go | 2 ++ api/v1alpha1/azurevirtualmachine_types.go | 2 ++ api/v1alpha1/blobcontainer_types.go | 2 ++ api/v1alpha1/consumergroup_types.go | 2 ++ api/v1alpha1/cosmosdb_types.go | 2 ++ api/v1alpha1/eventhub_types.go | 2 ++ api/v1alpha1/eventhubnamespace_types.go | 2 ++ api/v1alpha1/keyvault_types.go | 2 ++ api/v1alpha1/keyvaultkey_types.go | 2 ++ api/v1alpha1/mysqldatabase_types.go | 2 ++ api/v1alpha1/mysqlfirewallrule_types.go | 2 ++ api/v1alpha1/mysqlserver_types.go | 2 ++ api/v1alpha1/postgresqldatabase_types.go | 2 ++ api/v1alpha1/postgresqlfirewallrule_types.go | 2 ++ api/v1alpha1/postgresqlserver_types.go | 2 ++ api/v1alpha1/rediscache_types.go | 2 ++ api/v1alpha1/resourcegroup_types.go | 2 +- api/v1alpha1/storageaccount_types.go | 2 ++ api/v1alpha1/virtualnetwork_types.go | 2 ++ 31 files changed, 61 insertions(+), 1 deletion(-) diff --git a/api/v1alpha1/apimgmt_types.go b/api/v1alpha1/apimgmt_types.go index c5395021632..ec4d4f1a99b 100644 --- a/api/v1alpha1/apimgmt_types.go +++ b/api/v1alpha1/apimgmt_types.go @@ -18,6 +18,8 @@ type APIMgmtSpec struct { // +kubebuilder:object:root=true // +kubebuilder:subresource:status +// +kubebuilder:printcolumn:name="Provisioned",type="string",JSONPath=".status.provisioned" +// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message" type APIMgmtAPI struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/api/v1alpha1/apimservice_types.go b/api/v1alpha1/apimservice_types.go index dda328b5eb7..4dd7b057e17 100644 --- a/api/v1alpha1/apimservice_types.go +++ b/api/v1alpha1/apimservice_types.go @@ -31,6 +31,8 @@ type ApimServiceSpec struct { // +kubebuilder:subresource:status // ApimService is the Schema for the apimservices API +// +kubebuilder:printcolumn:name="Provisioned",type="string",JSONPath=".status.provisioned" +// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message" type ApimService struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/api/v1alpha1/appinsights_types.go b/api/v1alpha1/appinsights_types.go index 2c0ad466f0a..c10e15d933f 100644 --- a/api/v1alpha1/appinsights_types.go +++ b/api/v1alpha1/appinsights_types.go @@ -22,6 +22,8 @@ type AppInsightsSpec struct { // +kubebuilder:subresource:status // AppInsights is the Schema for the appinsights API +// +kubebuilder:printcolumn:name="Provisioned",type="string",JSONPath=".status.provisioned" +// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message" type AppInsights struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/api/v1alpha1/azuredatalakegen2filesystem_types.go b/api/v1alpha1/azuredatalakegen2filesystem_types.go index c956252cda2..2e59c0c4431 100644 --- a/api/v1alpha1/azuredatalakegen2filesystem_types.go +++ b/api/v1alpha1/azuredatalakegen2filesystem_types.go @@ -22,6 +22,8 @@ type AzureDataLakeGen2FileSystemSpec struct { // +kubebuilder:object:root=true // +kubebuilder:subresource:status // AzureDataLakeGen2FileSystem is the Schema for the azuredatalakegen2filesystems API +// +kubebuilder:printcolumn:name="Provisioned",type="string",JSONPath=".status.provisioned" +// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message" type AzureDataLakeGen2FileSystem struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/api/v1alpha1/azurenetworkinterface_types.go b/api/v1alpha1/azurenetworkinterface_types.go index 28251f75fd3..6b01e08b94d 100644 --- a/api/v1alpha1/azurenetworkinterface_types.go +++ b/api/v1alpha1/azurenetworkinterface_types.go @@ -25,6 +25,8 @@ type AzureNetworkInterfaceSpec struct { // +kubebuilder:subresource:status // AzureNetworkInterface is the Schema for the azurenetworkinterfaces API +// +kubebuilder:printcolumn:name="Provisioned",type="string",JSONPath=".status.provisioned" +// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message" type AzureNetworkInterface struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/api/v1alpha1/azurepublicipaddress_types.go b/api/v1alpha1/azurepublicipaddress_types.go index 7443aba869c..136d1d49cd4 100644 --- a/api/v1alpha1/azurepublicipaddress_types.go +++ b/api/v1alpha1/azurepublicipaddress_types.go @@ -26,6 +26,8 @@ type AzurePublicIPAddressSpec struct { // +kubebuilder:subresource:status // AzurePublicIPAddress is the Schema for the azurepublicipaddresses API +// +kubebuilder:printcolumn:name="Provisioned",type="string",JSONPath=".status.provisioned" +// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message" type AzurePublicIPAddress struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/api/v1alpha1/azuresqlaction_types.go b/api/v1alpha1/azuresqlaction_types.go index 584d5699d9e..33721494b5a 100644 --- a/api/v1alpha1/azuresqlaction_types.go +++ b/api/v1alpha1/azuresqlaction_types.go @@ -28,6 +28,8 @@ type AzureSqlActionSpec struct { // +kubebuilder:subresource:status // AzureSqlAction is the Schema for the azuresqlactions API +// +kubebuilder:printcolumn:name="Provisioned",type="string",JSONPath=".status.provisioned" +// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message" type AzureSqlAction struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/api/v1alpha1/azuresqldatabase_types.go b/api/v1alpha1/azuresqldatabase_types.go index 2e1c487f112..b1443ae9fd9 100644 --- a/api/v1alpha1/azuresqldatabase_types.go +++ b/api/v1alpha1/azuresqldatabase_types.go @@ -25,6 +25,8 @@ type AzureSqlDatabaseSpec struct { // +kubebuilder:object:root=true // +kubebuilder:subresource:status // AzureSqlDatabase is the Schema for the azuresqldatabases API +// +kubebuilder:printcolumn:name="Provisioned",type="string",JSONPath=".status.provisioned" +// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message" type AzureSqlDatabase struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/api/v1alpha1/azuresqlfailovergroup_types.go b/api/v1alpha1/azuresqlfailovergroup_types.go index 36ad6ff83f0..2e4960c2027 100644 --- a/api/v1alpha1/azuresqlfailovergroup_types.go +++ b/api/v1alpha1/azuresqlfailovergroup_types.go @@ -26,6 +26,8 @@ type AzureSqlFailoverGroupSpec struct { // +kubebuilder:object:root=true // +kubebuilder:subresource:status // AzureSqlFailoverGroup is the Schema for the azuresqlfailovergroups API +// +kubebuilder:printcolumn:name="Provisioned",type="string",JSONPath=".status.provisioned" +// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message" type AzureSqlFailoverGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/api/v1alpha1/azuresqlfirewallrule_types.go b/api/v1alpha1/azuresqlfirewallrule_types.go index d4601c66a4d..395ec1233ae 100644 --- a/api/v1alpha1/azuresqlfirewallrule_types.go +++ b/api/v1alpha1/azuresqlfirewallrule_types.go @@ -24,6 +24,8 @@ type AzureSqlFirewallRuleSpec struct { // +kubebuilder:object:root=true // +kubebuilder:subresource:status // AzureSqlFirewallRule is the Schema for the azuresqlfirewallrules API +// +kubebuilder:printcolumn:name="Provisioned",type="string",JSONPath=".status.provisioned" +// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message" type AzureSqlFirewallRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/api/v1alpha1/azuresqlserver_types.go b/api/v1alpha1/azuresqlserver_types.go index 381d5541d7d..67e9e28d222 100644 --- a/api/v1alpha1/azuresqlserver_types.go +++ b/api/v1alpha1/azuresqlserver_types.go @@ -23,6 +23,8 @@ type AzureSqlServerSpec struct { // +kubebuilder:object:root=true // +kubebuilder:subresource:status // AzureSqlServer is the Schema for the azuresqlservers API +// +kubebuilder:printcolumn:name="Provisioned",type="string",JSONPath=".status.provisioned" +// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message" type AzureSqlServer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/api/v1alpha1/azuresqluser_types.go b/api/v1alpha1/azuresqluser_types.go index 6cdd3b6dd5e..0e1fa7457db 100644 --- a/api/v1alpha1/azuresqluser_types.go +++ b/api/v1alpha1/azuresqluser_types.go @@ -31,6 +31,8 @@ type AzureSQLUserSpec struct { // +kubebuilder:subresource:status // AzureSQLUser is the Schema for the sqlusers API +// +kubebuilder:printcolumn:name="Provisioned",type="string",JSONPath=".status.provisioned" +// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message" type AzureSQLUser struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/api/v1alpha1/azuresqlvnetrule_types.go b/api/v1alpha1/azuresqlvnetrule_types.go index ccb1c6d0883..bf190c80bb6 100644 --- a/api/v1alpha1/azuresqlvnetrule_types.go +++ b/api/v1alpha1/azuresqlvnetrule_types.go @@ -23,6 +23,8 @@ type AzureSQLVNetRuleSpec struct { // +kubebuilder:object:root=true // +kubebuilder:subresource:status // AzureSQLVNetRule is the Schema for the azuresqlvnetrules API +// +kubebuilder:printcolumn:name="Provisioned",type="string",JSONPath=".status.provisioned" +// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message" type AzureSQLVNetRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/api/v1alpha1/azurevirtualmachine_types.go b/api/v1alpha1/azurevirtualmachine_types.go index 05555d355a0..47971b50836 100644 --- a/api/v1alpha1/azurevirtualmachine_types.go +++ b/api/v1alpha1/azurevirtualmachine_types.go @@ -37,6 +37,8 @@ const ( // +kubebuilder:subresource:status // AzureVirtualMachine is the Schema for the azurevirtualmachines API +// +kubebuilder:printcolumn:name="Provisioned",type="string",JSONPath=".status.provisioned" +// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message" type AzureVirtualMachine struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/api/v1alpha1/blobcontainer_types.go b/api/v1alpha1/blobcontainer_types.go index e372e4e3ddb..1dc36b58d52 100644 --- a/api/v1alpha1/blobcontainer_types.go +++ b/api/v1alpha1/blobcontainer_types.go @@ -25,6 +25,8 @@ type BlobContainerSpec struct { // +kubebuilder:object:root=true // +kubebuilder:subresource:status // BlobContainer is the Schema for the blobcontainers API +// +kubebuilder:printcolumn:name="Provisioned",type="string",JSONPath=".status.provisioned" +// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message" type BlobContainer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/api/v1alpha1/consumergroup_types.go b/api/v1alpha1/consumergroup_types.go index c821ce23b1f..4617cd5e405 100644 --- a/api/v1alpha1/consumergroup_types.go +++ b/api/v1alpha1/consumergroup_types.go @@ -25,6 +25,8 @@ type ConsumerGroupSpec struct { // +kubebuilder:subresource:status // ConsumerGroup is the Schema for the consumergroups API +// +kubebuilder:printcolumn:name="Provisioned",type="string",JSONPath=".status.provisioned" +// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message" type ConsumerGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/api/v1alpha1/cosmosdb_types.go b/api/v1alpha1/cosmosdb_types.go index 1a0c32794fa..a4b6259243a 100644 --- a/api/v1alpha1/cosmosdb_types.go +++ b/api/v1alpha1/cosmosdb_types.go @@ -69,6 +69,8 @@ type CosmosDBLocation struct { // +kubebuilder:subresource:status // CosmosDB is the Schema for the cosmosdbs API +// +kubebuilder:printcolumn:name="Provisioned",type="string",JSONPath=".status.provisioned" +// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message" type CosmosDB struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/api/v1alpha1/eventhub_types.go b/api/v1alpha1/eventhub_types.go index d2c07a7175a..1e1bd5aca9e 100644 --- a/api/v1alpha1/eventhub_types.go +++ b/api/v1alpha1/eventhub_types.go @@ -91,6 +91,8 @@ type EventhubProperties struct { // +kubebuilder:object:root=true // +kubebuilder:subresource:status // Eventhub is the Schema for the eventhubs API +// +kubebuilder:printcolumn:name="Provisioned",type="string",JSONPath=".status.provisioned" +// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message" type Eventhub struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/api/v1alpha1/eventhubnamespace_types.go b/api/v1alpha1/eventhubnamespace_types.go index ff4374cd56a..41c10917ebe 100644 --- a/api/v1alpha1/eventhubnamespace_types.go +++ b/api/v1alpha1/eventhubnamespace_types.go @@ -25,6 +25,8 @@ type EventhubNamespaceSpec struct { // +kubebuilder:object:root=true // +kubebuilder:subresource:status // EventhubNamespace is the Schema for the eventhubnamespaces API +// +kubebuilder:printcolumn:name="Provisioned",type="string",JSONPath=".status.provisioned" +// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message" type EventhubNamespace struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/api/v1alpha1/keyvault_types.go b/api/v1alpha1/keyvault_types.go index 3b21a2c1f67..0abd6b40a00 100644 --- a/api/v1alpha1/keyvault_types.go +++ b/api/v1alpha1/keyvault_types.go @@ -57,6 +57,8 @@ type Permissions struct { // +kubebuilder:subresource:status // KeyVault is the Schema for the keyvaults API +// +kubebuilder:printcolumn:name="Provisioned",type="string",JSONPath=".status.provisioned" +// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message" type KeyVault struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/api/v1alpha1/keyvaultkey_types.go b/api/v1alpha1/keyvaultkey_types.go index d3724412891..bec2672837a 100644 --- a/api/v1alpha1/keyvaultkey_types.go +++ b/api/v1alpha1/keyvaultkey_types.go @@ -27,6 +27,8 @@ type KeyVaultKeySpec struct { // +kubebuilder:subresource:status // KeyVaultKey is the Schema for the keyvaultkeys API +// +kubebuilder:printcolumn:name="Provisioned",type="string",JSONPath=".status.provisioned" +// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message" type KeyVaultKey struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/api/v1alpha1/mysqldatabase_types.go b/api/v1alpha1/mysqldatabase_types.go index f6626672582..32ef46908d0 100644 --- a/api/v1alpha1/mysqldatabase_types.go +++ b/api/v1alpha1/mysqldatabase_types.go @@ -20,6 +20,8 @@ type MySQLDatabaseSpec struct { // +kubebuilder:subresource:status // MySQLDatabase is the Schema for the mysqldatabases API +// +kubebuilder:printcolumn:name="Provisioned",type="string",JSONPath=".status.provisioned" +// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message" type MySQLDatabase struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/api/v1alpha1/mysqlfirewallrule_types.go b/api/v1alpha1/mysqlfirewallrule_types.go index b213b5f08ce..a5d646a7c44 100644 --- a/api/v1alpha1/mysqlfirewallrule_types.go +++ b/api/v1alpha1/mysqlfirewallrule_types.go @@ -22,6 +22,8 @@ type MySQLFirewallRuleSpec struct { // +kubebuilder:subresource:status // MySQLFirewallRule is the Schema for the mysqlfirewallrules API +// +kubebuilder:printcolumn:name="Provisioned",type="string",JSONPath=".status.provisioned" +// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message" type MySQLFirewallRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/api/v1alpha1/mysqlserver_types.go b/api/v1alpha1/mysqlserver_types.go index 3a3c8386512..25a24adbf30 100644 --- a/api/v1alpha1/mysqlserver_types.go +++ b/api/v1alpha1/mysqlserver_types.go @@ -26,6 +26,8 @@ type MySQLServerSpec struct { // +kubebuilder:subresource:status // MySQLServer is the Schema for the mysqlservers API +// +kubebuilder:printcolumn:name="Provisioned",type="string",JSONPath=".status.provisioned" +// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message" type MySQLServer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/api/v1alpha1/postgresqldatabase_types.go b/api/v1alpha1/postgresqldatabase_types.go index 83bfd40424e..f01daf465b3 100644 --- a/api/v1alpha1/postgresqldatabase_types.go +++ b/api/v1alpha1/postgresqldatabase_types.go @@ -22,6 +22,8 @@ type PostgreSQLDatabaseSpec struct { // +kubebuilder:subresource:status // PostgreSQLDatabase is the Schema for the postgresqldatabases API +// +kubebuilder:printcolumn:name="Provisioned",type="string",JSONPath=".status.provisioned" +// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message" type PostgreSQLDatabase struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/api/v1alpha1/postgresqlfirewallrule_types.go b/api/v1alpha1/postgresqlfirewallrule_types.go index 82becf2bb5a..e2ff53dee81 100644 --- a/api/v1alpha1/postgresqlfirewallrule_types.go +++ b/api/v1alpha1/postgresqlfirewallrule_types.go @@ -24,6 +24,8 @@ type PostgreSQLFirewallRuleSpec struct { // +kubebuilder:subresource:status // PostgreSQLFirewallRule is the Schema for the postgresqlfirewallrules API +// +kubebuilder:printcolumn:name="Provisioned",type="string",JSONPath=".status.provisioned" +// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message" type PostgreSQLFirewallRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/api/v1alpha1/postgresqlserver_types.go b/api/v1alpha1/postgresqlserver_types.go index 2489d079a3d..9dd64dd1b83 100644 --- a/api/v1alpha1/postgresqlserver_types.go +++ b/api/v1alpha1/postgresqlserver_types.go @@ -75,6 +75,8 @@ const ( // +kubebuilder:subresource:status // PostgreSQLServer is the Schema for the postgresqlservers API +// +kubebuilder:printcolumn:name="Provisioned",type="string",JSONPath=".status.provisioned" +// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message" type PostgreSQLServer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/api/v1alpha1/rediscache_types.go b/api/v1alpha1/rediscache_types.go index 01abff59a93..54fd0fe544d 100644 --- a/api/v1alpha1/rediscache_types.go +++ b/api/v1alpha1/rediscache_types.go @@ -63,6 +63,8 @@ const ( // +kubebuilder:subresource:status // RedisCache is the Schema for the rediscaches API +// +kubebuilder:printcolumn:name="Provisioned",type="string",JSONPath=".status.provisioned" +// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message" type RedisCache struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/api/v1alpha1/resourcegroup_types.go b/api/v1alpha1/resourcegroup_types.go index 8902d539f53..8cbf2f740e5 100644 --- a/api/v1alpha1/resourcegroup_types.go +++ b/api/v1alpha1/resourcegroup_types.go @@ -23,7 +23,7 @@ type ResourceGroupSpec struct { // ResourceGroup is the Schema for the resourcegroups API // +kubebuilder:resource:shortName=rg,path=resourcegroups // +kubebuilder:printcolumn:name="Provisioned",type="string",JSONPath=".status.provisioned" -// +kubebuilder:printcolumn:name="Provisioning",type="string",JSONPath=".status.provisioning" +// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message" type ResourceGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/api/v1alpha1/storageaccount_types.go b/api/v1alpha1/storageaccount_types.go index 41ba60b368c..730f5fc47ad 100644 --- a/api/v1alpha1/storageaccount_types.go +++ b/api/v1alpha1/storageaccount_types.go @@ -65,6 +65,8 @@ type StorageAccountAccessTier string // +kubebuilder:subresource:status // StorageAccount is the Schema for the storages API +// +kubebuilder:printcolumn:name="Provisioned",type="string",JSONPath=".status.provisioned" +// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message" type StorageAccount struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/api/v1alpha1/virtualnetwork_types.go b/api/v1alpha1/virtualnetwork_types.go index 8723e16a841..803ba6917d6 100644 --- a/api/v1alpha1/virtualnetwork_types.go +++ b/api/v1alpha1/virtualnetwork_types.go @@ -32,6 +32,8 @@ type VirtualNetworkSpec struct { // +kubebuilder:subresource:status // VirtualNetwork is the Schema for the virtualnetworks API +// +kubebuilder:printcolumn:name="Provisioned",type="string",JSONPath=".status.provisioned" +// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.message" type VirtualNetwork struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"`